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.001324/0.001324, allocations: 98.78 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.00192/0.00192, allocations: 175.9 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.04/2.04, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005936/0.0005934, allocations: 19.94 kB / 282 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 47.58 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02653/0.1781, allocations: 19.14 MB / 348.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.197, allocations: 5.827 MB / 354.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007092/0.2042, allocations: 111.5 kB / 354.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007448/0.2117, allocations: 1.134 MB / 355.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.2242, allocations: 1.721 MB / 357.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006083/0.2303, allocations: 1.127 MB / 358.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.2466, allocations: 6.653 MB / 365.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.2593, allocations: 4.44 MB / 369.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.2654, allocations: 2.038 MB / 371.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006728/0.2722, allocations: 2.773 MB / 374.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.2751, allocations: 324 kB / 374.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.2797, allocations: 0.6167 MB / 375.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003614/0.2834, allocations: 1.386 MB / 376.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008439/0.2918, allocations: 2.769 MB / 379.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3626/0.6545, allocations: 8.363 MB / 388 MB, free: 23.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6546, allocations: 1.312 kB / 388 MB, free: 23.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.67e-06/0.6546, allocations: 0 / 388 MB, free: 23.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005416/0.6551, allocations: 0 / 388 MB, free: 23.08 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.02185/0.677, allocations: 5.533 MB / 393.6 MB, free: 20.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.6771, allocations: 8.156 kB / 393.6 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008403/0.6855, allocations: 1.016 MB / 394.6 MB, free: 19.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.7003, allocations: 3.275 MB / 397.9 MB, free: 18.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/0.7015, allocations: 399 kB / 398.3 MB, free: 18.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00501/0.7065, allocations: 0.4979 MB / 398.8 MB, free: 18.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03172/0.7383, allocations: 6.795 MB / 405.5 MB, free: 17.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006015/0.739, allocations: 12.03 kB / 405.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003057/0.742, allocations: 214.4 kB / 405.8 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.7425, allocations: 238.6 kB / 406 MB, free: 17.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.7612, allocations: 5.773 MB / 411.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06631/0.8276, allocations: 21.21 MB / 433 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.8426, allocations: 8.562 MB / 441.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006059/0.8487, allocations: 2.123 MB / 443.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/0.8672, allocations: 5.962 MB / 449.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/0.8674, allocations: 55.56 kB / 449.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 5.61e-06/0.8674, allocations: 4 kB / 449.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=222): time 0.02664/0.894, allocations: 10.4 MB / 460.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.8941, allocations: 77.41 kB / 460.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008368/0.9025, allocations: 2.91 MB / 463.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000596/0.9032, allocations: 61.7 kB / 463.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002798/0.906, allocations: 2.351 MB / 465.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.9074, allocations: 0.7661 MB / 466.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008274/0.9082, allocations: 231.8 kB / 466.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.9084, allocations: 309.1 kB / 466.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.9122, allocations: 1.282 MB / 468.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/0.9161, allocations: 2.2 MB / 470.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/0.9229, allocations: 3.699 MB / 474 MB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-05/0.9229, allocations: 8 kB / 474 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01093/0.9339, allocations: 4.481 MB / 478.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.934, allocations: 20 kB / 478.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.117e-05/0.9341, allocations: 28 kB / 478.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.9355, allocations: 0.5027 MB / 479 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.9386, allocations: 0.6995 MB / 479.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.9494, allocations: 9.349 MB / 489 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/0.9536, allocations: 179.8 kB / 489.2 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008145/0.9544, allocations: 132 kB / 489.3 MB, free: 15.92 MB / 398.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 (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005404/0.9599, allocations: 1.522 MB / 490.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/0.9615, allocations: 316.1 kB / 491.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.9717, allocations: 3.907 MB / 495.1 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.9717, allocations: 20 kB / 495.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/0.9718, allocations: 8 kB / 495.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/0.9718, allocations: 11.95 kB / 495.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/0.9953, allocations: 8.518 MB / 0.4918 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.9954, allocations: 4.469 kB / 0.4918 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.9974, allocations: 393.6 kB / 0.4922 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.9998, allocations: 0.7213 MB / 0.4929 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/1, allocations: 59.97 kB / 0.493 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.019, allocations: 15.22 MB / 0.5078 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.019, allocations: 6.719 kB / 0.5078 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.032, allocations: 5.599 MB / 0.5133 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/1.035, allocations: 0.661 MB / 0.514 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.037, allocations: 59.94 kB / 0.514 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.04, allocations: 143.9 kB / 0.5142 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008346/1.041, allocations: 174.9 kB / 0.5143 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/1.041, allocations: 67.97 kB / 0.5144 GB, free: 9.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006267/1.047, allocations: 1.967 MB / 0.5163 GB, free: 7.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.52e-07/1.047, allocations: 0 / 0.5163 GB, free: 7.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00713/1.055, allocations: 0.9298 MB / 0.5172 GB, free: 6.414 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/1.056, allocations: 242 kB / 0.5174 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009362/1.065, allocations: 3.986 MB / 0.5213 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.065, allocations: 0 / 0.5213 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005921/1.071, allocations: 2.671 MB / 0.5239 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009401/1.081, allocations: 0.7913 MB / 0.5247 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.11, allocations: 11.97 MB / 0.5364 GB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2762/1.386, allocations: 3.216 MB / 0.5396 GB, free: 157.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/1.388, allocations: 247.5 kB / 0.5398 GB, free: 157.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.384e-06/1.388, allocations: 0 / 0.5398 GB, free: 157.8 MB / 446.1 MB Notification: Performance of Templates: time 0.6217/2.01, allocations: 249.7 MB / 0.7836 GB, free: 84.49 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++ -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.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