Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008507/0.0008508, allocations: 92.06 kB / 17.58 MB, free: 6.168 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.0009477/0.0009477, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.663/1.663, 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.000473/0.0004731, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.02184/0.1505, allocations: 19.15 MB / 348.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.1672, allocations: 6.051 MB / 354.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005018/0.1723, allocations: 111.5 kB / 354.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.1767, allocations: 1.095 MB / 355.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00817/0.1849, allocations: 1.701 MB / 357.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.1888, allocations: 0.8616 MB / 358 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.2012, allocations: 6.526 MB / 364.5 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005905/0.2072, allocations: 3.694 MB / 368.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/0.2115, allocations: 2.128 MB / 370.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005589/0.2171, allocations: 2.801 MB / 373.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008151/0.218, allocations: 348 kB / 373.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.2201, allocations: 0.5739 MB / 374 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.2216, allocations: 1.44 MB / 375.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.2237, allocations: 1.198 MB / 376.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2246/0.4483, allocations: 8.739 MB / 385.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4484, allocations: 4.391 kB / 385.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.4484, allocations: 0.5312 kB / 385.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004181/0.4488, allocations: 0 / 385.4 MB, free: 19.45 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01822/0.467, allocations: 5.87 MB / 391.3 MB, free: 17.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4671, allocations: 8.844 kB / 391.3 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007269/0.4744, allocations: 1.062 MB / 392.3 MB, free: 16.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.4845, allocations: 3.352 MB / 395.7 MB, free: 16.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000599/0.4852, allocations: 421.2 kB / 396.1 MB, free: 16.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.4877, allocations: 0.5232 MB / 396.6 MB, free: 16.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.5035, allocations: 7.032 MB / 403.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.5037, allocations: 11.5 kB / 403.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.5042, allocations: 223.8 kB / 403.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.5045, allocations: 261.6 kB / 404.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.5151, allocations: 5.924 MB / 410.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.5503, allocations: 22.53 MB / 432.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/0.5589, allocations: 8.282 MB / 440.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.5623, allocations: 2.192 MB / 443.1 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.5733, allocations: 6.209 MB / 449.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.5734, allocations: 64.56 kB / 449.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=220): time 3.617e-06/0.5734, allocations: 0 / 449.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=240): time 0.02288/0.5963, allocations: 11.32 MB / 460.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.5963, allocations: 77.41 kB / 460.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.6017, allocations: 3.124 MB / 463.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006725/0.6024, allocations: 69.69 kB / 463.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.6045, allocations: 2.498 MB / 466.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.6055, allocations: 0.8258 MB / 467.2 MB, free: 8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.6057, allocations: 64 kB / 467.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6059, allocations: 428.6 kB / 467.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.6081, allocations: 1.337 MB / 469.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.6108, allocations: 2.347 MB / 471.4 MB, free: 3.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.6134, allocations: 1.741 MB / 473.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.6134, allocations: 8 kB / 473.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.007591/0.621, allocations: 4.716 MB / 477.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.6211, allocations: 20 kB / 477.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-05/0.6211, allocations: 32 kB / 477.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.6222, allocations: 0.5286 MB / 478.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.6248, allocations: 0.7492 MB / 479.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008147/0.633, allocations: 9.411 MB / 488.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.6364, allocations: 191.6 kB / 488.8 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004534/0.6368, allocations: 148 kB / 488.9 MB, free: 1.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (380): * Single equations (assignments): 373 * 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%) 12,(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.003426/0.6403, allocations: 1.573 MB / 490.5 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009014/0.6412, allocations: 343.8 kB / 490.9 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/0.6482, allocations: 4.073 MB / 494.9 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.6482, allocations: 20 kB / 494.9 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.6482, allocations: 12 kB / 495 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.6483, allocations: 11.95 kB / 495 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.663, allocations: 8.988 MB / 0.4921 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.663, allocations: 4 kB / 0.4922 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.6647, allocations: 421 kB / 0.4926 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.6664, allocations: 0.7375 MB / 0.4933 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.6666, allocations: 63.97 kB / 0.4933 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.6807, allocations: 15.31 MB / 0.5083 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.6807, allocations: 7.453 kB / 0.5083 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/0.6906, allocations: 5.868 MB / 0.514 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/0.6927, allocations: 0.6997 MB / 0.5147 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.6932, allocations: 63.94 kB / 0.5148 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6947, allocations: 147.9 kB / 0.5149 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/0.6951, allocations: 190.2 kB / 0.5151 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.6953, allocations: 71.97 kB / 0.5152 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003299/0.6986, allocations: 2.095 MB / 0.5172 GB, free: 7.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6986, allocations: 0 / 0.5172 GB, free: 7.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003941/0.7025, allocations: 0.9962 MB / 0.5182 GB, free: 6.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (201): * Single equations (assignments): 193 * 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%) 12,(1,100.0%) 3,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005418/0.7031, allocations: 219.6 kB / 0.5184 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007004/0.7101, allocations: 4.144 MB / 0.5224 GB, free: 2.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/0.7101, allocations: 4.062 kB / 0.5224 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/0.7144, allocations: 2.764 MB / 0.5251 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004774/0.7191, allocations: 0.9222 MB / 0.526 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.7408, allocations: 11.96 MB / 0.5377 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2193/0.9602, allocations: 3.325 MB / 0.541 GB, free: 156.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.9616, allocations: 263.2 kB / 0.5412 GB, free: 156.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.9616, allocations: 0 / 0.5412 GB, free: 156.8 MB / 446.1 MB Notification: Performance of Templates: time 0.4549/1.417, allocations: 264.4 MB / 0.7994 GB, free: 68.89 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_InverterCalcHelperMain.o] Error 1