Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009527, allocations: 84.62 kB / 17.58 MB, free: 5.512 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.001268/0.001268, allocations: 191.3 kB / 18.48 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.000433/0.000433, allocations: 19.44 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 47.57 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.01852/0.1278, allocations: 17.85 MB / 346.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.141, allocations: 5.58 MB / 352.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/0.1448, allocations: 107.5 kB / 352.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.1484, allocations: 0.986 MB / 353.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.1556, allocations: 1.593 MB / 355.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.1588, allocations: 0.8304 MB / 355.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009944/0.1688, allocations: 6.157 MB / 362.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005188/0.174, allocations: 3.569 MB / 365.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.1778, allocations: 2 MB / 367.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.1835, allocations: 2.661 MB / 370.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.1848, allocations: 324 kB / 370.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.1874, allocations: 0.5544 MB / 371.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.1889, allocations: 1.378 MB / 372.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.1913, allocations: 1.128 MB / 373.7 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2593/0.4506, allocations: 8.358 MB / 382.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.4507, allocations: 4.719 kB / 382.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.242e-06/0.4507, allocations: 3.828 kB / 382.1 MB, free: 19.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005516/0.4512, allocations: 0 / 382.1 MB, free: 19.04 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.02246/0.4737, allocations: 5.576 MB / 387.6 MB, free: 16.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.097e-05/0.4738, allocations: 9.406 kB / 387.6 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008845/0.4827, allocations: 1.012 MB / 388.7 MB, free: 16.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.4955, allocations: 3.186 MB / 391.8 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00083/0.4964, allocations: 398.7 kB / 392.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/0.5, allocations: 0.5003 MB / 392.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/0.528, allocations: 6.753 MB / 399.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/0.5283, allocations: 16.91 kB / 399.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.5297, allocations: 204.6 kB / 399.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/0.53, allocations: 241 kB / 399.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.5455, allocations: 5.735 MB / 405.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04369/0.5892, allocations: 21.19 MB / 426.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009652/0.5989, allocations: 8.549 MB / 435.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004011/0.603, allocations: 2.127 MB / 437.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.6154, allocations: 5.944 MB / 443.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.6155, allocations: 63.94 kB / 443.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 4.538e-06/0.6155, allocations: 0 / 443.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=222): time 0.02309/0.6386, allocations: 10.4 MB / 453.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.6388, allocations: 77.41 kB / 454 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/0.6448, allocations: 2.884 MB / 456.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000643/0.6455, allocations: 61.7 kB / 457 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.6479, allocations: 2.364 MB / 459.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.6492, allocations: 0.7636 MB / 460.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.6493, allocations: 60 kB / 460.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.6497, allocations: 432 kB / 460.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.6525, allocations: 1.263 MB / 461.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.6556, allocations: 2.188 MB / 464 MB, free: 9.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.6584, allocations: 1.649 MB / 465.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.6584, allocations: 8 kB / 465.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.008711/0.6671, allocations: 4.451 MB / 470.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.6672, allocations: 19.94 kB / 470.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/0.6673, allocations: 32.53 kB / 470.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.6686, allocations: 0.5165 MB / 470.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.6713, allocations: 0.6938 MB / 471.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/0.6811, allocations: 9.326 MB / 480.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/0.6852, allocations: 183.7 kB / 480.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/0.6858, allocations: 128 kB / 481 MB, free: 7.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 341 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003474/0.6893, allocations: 1.521 MB / 482.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/0.6901, allocations: 320.1 kB / 482.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.6966, allocations: 3.897 MB / 486.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.6966, allocations: 23.95 kB / 486.8 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.6967, allocations: 8 kB / 486.8 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.6967, allocations: 7.969 kB / 486.8 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.7118, allocations: 8.494 MB / 495.3 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.7119, allocations: 11.98 kB / 495.3 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.7134, allocations: 389.3 kB / 495.7 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.7152, allocations: 0.7319 MB / 496.4 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.7154, allocations: 55.98 kB / 496.5 MB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.7294, allocations: 15.2 MB / 0.4997 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.7294, allocations: 7.656 kB / 0.4997 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009164/0.7386, allocations: 5.578 MB / 0.5051 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/0.7406, allocations: 0.6571 MB / 0.5058 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/0.7414, allocations: 51.98 kB / 0.5058 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.7428, allocations: 150.8 kB / 0.506 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/0.7433, allocations: 169.1 kB / 0.5061 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7434, allocations: 63.98 kB / 0.5062 GB, free: 1.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003117/0.7465, allocations: 1.944 MB / 0.5081 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7466, allocations: 0 / 0.5081 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004061/0.7506, allocations: 0.9337 MB / 0.509 GB, free: 14.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 5,(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005793/0.7512, allocations: 209.4 kB / 0.5092 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006456/0.7577, allocations: 3.967 MB / 0.5131 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.7577, allocations: 0 / 0.5131 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004149/0.7619, allocations: 2.66 MB / 0.5157 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/0.767, allocations: 0.8229 MB / 0.5165 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.7873, allocations: 11.42 MB / 0.5276 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/0.7908, allocations: 3.215 MB / 0.5308 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.7921, allocations: 247.4 kB / 0.531 GB, free: 7.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7921, allocations: 0 / 0.531 GB, free: 7.512 MB / 446.1 MB Notification: Performance of Templates: time 0.6596/1.452, allocations: 249.8 MB / 0.7749 GB, free: 96.86 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_InverterCalcHelperMain.o] Error 1