Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 98.86 kB / 17.96 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 178.8 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.0006516, allocations: 15.98 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1476, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02157/0.1693, allocations: 15.63 MB / 345.3 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.1852, allocations: 5.333 MB / 350.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005636/0.1909, allocations: 79.69 kB / 350.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005793/0.1968, allocations: 1.081 MB / 351.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.2076, allocations: 1.434 MB / 353.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.2127, allocations: 0.9631 MB / 354.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.2245, allocations: 5.304 MB / 359.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007728/0.2323, allocations: 3.156 MB / 362.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.2374, allocations: 1.606 MB / 364.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005642/0.2431, allocations: 2.123 MB / 366.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002084/0.2452, allocations: 256 kB / 366.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.249, allocations: 487.7 kB / 367.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.2516, allocations: 0.9884 MB / 368.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006946/0.2585, allocations: 2.178 MB / 370.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.2701, allocations: 6.58 MB / 376.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.2702, allocations: 0 / 376.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.15e-06/0.2702, allocations: 0 / 376.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004284/0.2706, allocations: 4 kB / 376.8 MB, free: 4.301 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.3456/0.6162, allocations: 4.544 MB / 381.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.481e-05/0.6163, allocations: 9.469 kB / 381.4 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008003/0.6243, allocations: 1 MB / 382.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.6354, allocations: 2.704 MB / 385.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000757/0.6362, allocations: 313.7 kB / 385.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002555/0.6388, allocations: 393.8 kB / 385.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.6599, allocations: 5.228 MB / 391 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.66, allocations: 11.39 kB / 391 MB, free: 43.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.6605, allocations: 163.4 kB / 391.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/0.6608, allocations: 175.5 kB / 391.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.673, allocations: 4.482 MB / 395.8 MB, free: 41.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/0.7106, allocations: 16.95 MB / 412.8 MB, free: 27.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/0.7188, allocations: 8.429 MB / 421.2 MB, free: 18.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/0.722, allocations: 1.723 MB / 422.9 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.7325, allocations: 5.018 MB / 427.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.7326, allocations: 47.88 kB / 428 MB, free: 11.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 4.268e-06/0.7326, allocations: 3.938 kB / 428 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.01381/0.7465, allocations: 6.214 MB / 434.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.7465, allocations: 72.7 kB / 434.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/0.752, allocations: 2.314 MB / 436.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.7522, allocations: 53.7 kB / 436.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.7536, allocations: 1.843 MB / 438.5 MB, free: 404 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.7542, allocations: 0.5432 MB / 439 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.7546, allocations: 178 kB / 439.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7547, allocations: 305.1 kB / 439.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.7565, allocations: 0.8631 MB / 440.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.7591, allocations: 1.575 MB / 441.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005186/0.7643, allocations: 2.59 MB / 444.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.571e-05/0.7643, allocations: 11.94 kB / 444.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00678/0.7711, allocations: 2.923 MB / 447.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.7712, allocations: 12 kB / 447.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/0.7713, allocations: 24 kB / 447.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.7717, allocations: 125.6 kB / 447.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.7738, allocations: 0.5579 MB / 448.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.7759, allocations: 1.82 MB / 450 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.7784, allocations: 123.8 kB / 450.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.7787, allocations: 92 kB / 450.2 MB, free: 3.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003087/0.7818, allocations: 1.204 MB / 451.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009106/0.7827, allocations: 241 kB / 451.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/0.7883, allocations: 2.475 MB / 454.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.7884, allocations: 16 kB / 454.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.7884, allocations: 4 kB / 454.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.7884, allocations: 7.969 kB / 454.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.8017, allocations: 5.848 MB / 460 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.8017, allocations: 0 / 460 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.8031, allocations: 295.7 kB / 460.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009576/0.804, allocations: 322.3 kB / 460.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.8042, allocations: 39.98 kB / 460.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/0.8113, allocations: 6.403 MB / 467 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.8114, allocations: 4.031 kB / 467 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.8185, allocations: 3.606 MB / 470.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/0.8207, allocations: 0.498 MB / 471.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/0.8217, allocations: 31.94 kB / 471.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.8236, allocations: 100 kB / 471.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.824, allocations: 121.1 kB / 471.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.8241, allocations: 43.98 kB / 471.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004321/0.8284, allocations: 1.576 MB / 473 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8285, allocations: 0 / 473 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003956/0.8324, allocations: 0.6707 MB / 473.7 MB, free: 11.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005559/0.833, allocations: 165.8 kB / 473.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005145/0.8381, allocations: 2.304 MB / 476.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.8382, allocations: 0.875 kB / 476.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.8411, allocations: 1.458 MB / 477.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/0.8466, allocations: 0.5692 MB / 478.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/0.8693, allocations: 8.766 MB / 486.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005376/0.8747, allocations: 2.591 MB / 489.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.876, allocations: 183.4 kB / 489.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.876, allocations: 0 / 489.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.3856/1.262, allocations: 94.66 MB / 0.5707 GB, free: 128.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.o] Error 1