Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009456/0.0009457, allocations: 95.05 kB / 17.95 MB, free: 5.633 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.001196/0.001196, allocations: 176.3 kB / 18.86 MB, free: 4.766 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.114/2.114, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005497/0.0005497, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1428, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02518/0.1681, allocations: 24.3 MB / 353.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03589/0.204, allocations: 21.2 MB / 375.1 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007643/0.2117, allocations: 63.56 kB / 375.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007236/0.219, allocations: 1.489 MB / 376.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.2381, allocations: 2.671 MB / 379.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008904/0.2471, allocations: 1.309 MB / 380.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3746/0.6217, allocations: 12.14 MB / 392.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.6249, allocations: 0.8251 MB / 393.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.6314, allocations: 1.763 MB / 395.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006633/0.6381, allocations: 1.982 MB / 397.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.6392, allocations: 77.22 kB / 397.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/0.6488, allocations: 1.175 MB / 398.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.6509, allocations: 0.5434 MB / 399.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008784/0.6597, allocations: 2.6 MB / 401.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009509/0.6692, allocations: 4.832 MB / 406.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6693, allocations: 0 / 406.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6693, allocations: 0 / 406.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003987/0.6697, allocations: 0 / 406.6 MB, free: 9.512 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01441/0.6841, allocations: 5.815 MB / 412.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6842, allocations: 12.03 kB / 412.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6864, allocations: 0.7559 MB / 413.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009166/0.6956, allocations: 4.668 MB / 417.8 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.6957, allocations: 65.94 kB / 417.9 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.696, allocations: 108.3 kB / 418 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.6992, allocations: 1.321 MB / 419.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.6992, allocations: 4.938 kB / 419.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.6994, allocations: 32 kB / 419.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.6994, allocations: 39.97 kB / 419.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.703, allocations: 1.536 MB / 420.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.7175, allocations: 5.673 MB / 426.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.7197, allocations: 1.036 MB / 427.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.7218, allocations: 1.243 MB / 428.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07322/0.795, allocations: 59.97 MB / 488.9 MB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.7964, allocations: 0.5832 MB / 489.4 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 3.958e-06/0.7964, allocations: 4 kB / 489.4 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.005623/0.802, allocations: 1.939 MB / 491.4 MB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.8021, allocations: 63.95 kB / 491.4 MB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/0.8141, allocations: 5.624 MB / 497.1 MB, free: 8.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005066/0.8146, allocations: 41.7 kB / 497.1 MB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003658/0.8183, allocations: 2.934 MB / 0.4883 GB, free: 5.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008691/0.8192, allocations: 302.9 kB / 0.4886 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.8194, allocations: 125.6 kB / 0.4887 GB, free: 5.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.8197, allocations: 306.1 kB / 0.489 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8208, allocations: 427.8 kB / 0.4894 GB, free: 4.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.8227, allocations: 1.106 MB / 0.4905 GB, free: 3.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.826, allocations: 1.656 MB / 0.4921 GB, free: 1.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.826, allocations: 8 kB / 0.4921 GB, free: 1.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005873/0.8319, allocations: 2.257 MB / 0.4943 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.832, allocations: 16 kB / 0.4944 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/0.8322, allocations: 164 kB / 0.4945 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-05/0.8323, allocations: 32 kB / 0.4945 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.8336, allocations: 371.6 kB / 0.4949 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.945e-05/0.8337, allocations: 43.86 kB / 0.4949 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.8374, allocations: 206 kB / 0.4951 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.8378, allocations: 128 kB / 0.4953 GB, free: 14.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002648/0.8404, allocations: 0.716 MB / 0.496 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/0.8427, allocations: 0.7217 MB / 0.4967 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/0.8495, allocations: 2.206 MB / 0.4988 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.8495, allocations: 11.98 kB / 0.4988 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8496, allocations: 0 / 0.4988 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8496, allocations: 3.984 kB / 0.4988 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009151/0.8587, allocations: 3.648 MB / 0.5024 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002098/0.859, allocations: 144.5 kB / 0.5025 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.8598, allocations: 163.8 kB / 0.5027 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.8598, allocations: 4 kB / 0.5027 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.8599, allocations: 61.36 kB / 0.5027 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.86, allocations: 4 kB / 0.5028 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.86, allocations: 0 / 0.5028 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/0.8652, allocations: 2.235 MB / 0.5049 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/0.8686, allocations: 0.8162 MB / 0.5057 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/0.8697, allocations: 16 kB / 0.5057 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.8709, allocations: 47.95 kB / 0.5058 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.8712, allocations: 96.48 kB / 0.5059 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.8714, allocations: 68 kB / 0.5059 GB, free: 3.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.009604/0.881, allocations: 3.629 MB / 0.5095 GB, free: 15.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.8811, allocations: 0 / 0.5095 GB, free: 15.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00542/0.8865, allocations: 1.093 MB / 0.5106 GB, free: 14.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00243/0.889, allocations: 1.18 MB / 0.5117 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.8924, allocations: 1.475 MB / 0.5132 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8924, allocations: 4 kB / 0.5132 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.8938, allocations: 0.7981 MB / 0.5139 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00657/0.9004, allocations: 0.9139 MB / 0.5148 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.9188, allocations: 10.02 MB / 0.5246 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/0.9217, allocations: 2.6 MB / 0.5272 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9228, allocations: 299.4 kB / 0.5274 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.9229, allocations: 0 / 0.5274 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Templates: time 0.4007/1.324, allocations: 69.9 MB / 0.5957 GB, free: 137.2 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInvertersCalcHelperMain.o] Error 1