Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000825/0.000825, allocations: 91.53 kB / 16.95 MB, free: 5.676 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.0008168/0.0008167, allocations: 188.8 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 241.9 MB, free: 288 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007869/0.1394, allocations: 7.051 MB / 358.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2808/0.4203, allocations: 17.67 MB / 376.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.4213, allocations: 32.31 kB / 376.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.4238, allocations: 0.7115 MB / 377.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007143/0.4309, allocations: 1.411 MB / 378.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005988/0.4369, allocations: 1.04 MB / 379.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006923/0.4439, allocations: 3.046 MB / 382.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.4444, allocations: 205.7 kB / 383 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.4456, allocations: 493.6 kB / 383.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.4463, allocations: 0.5163 MB / 384 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.4464, allocations: 23.78 kB / 384 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007111/0.4535, allocations: 1.305 MB / 385.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.4538, allocations: 145.3 kB / 385.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.4546, allocations: 321.9 kB / 385.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.4572, allocations: 1.569 MB / 387.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4572, allocations: 1.25 kB / 387.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4572, allocations: 4 kB / 387.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.4573, allocations: 0 / 387.4 MB, free: 6.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003077/0.4603, allocations: 1.803 MB / 389.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.4604, allocations: 9.812 kB / 389.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.4608, allocations: 196.9 kB / 389.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.463, allocations: 1.29 MB / 390.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4631, allocations: 17.38 kB / 390.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.4632, allocations: 30.23 kB / 390.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.4641, allocations: 446.6 kB / 391.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4642, allocations: 1.094 kB / 391.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.4642, allocations: 17.73 kB / 391.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.4642, allocations: 9.359 kB / 391.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.4654, allocations: 0.5088 MB / 391.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.468, allocations: 1.628 MB / 393.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.4689, allocations: 411.9 kB / 393.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.4697, allocations: 442.6 kB / 394.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.4873, allocations: 15.21 MB / 409.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000643/0.488, allocations: 280.3 kB / 409.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.488, allocations: 0 / 409.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002081/0.4901, allocations: 0.9112 MB / 410.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4901, allocations: 63.33 kB / 410.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.4919, allocations: 1.436 MB / 412.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.492, allocations: 32.95 kB / 412.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.4926, allocations: 0.7253 MB / 412.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.4927, allocations: 95.34 kB / 412.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.4927, allocations: 8 kB / 412.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4928, allocations: 326 kB / 413.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.4932, allocations: 181 kB / 413.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.4938, allocations: 379.4 kB / 413.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.4943, allocations: 220.6 kB / 414 MB, free: 3.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4943, allocations: 8 kB / 414 MB, free: 3.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001396/0.4957, allocations: 0.7946 MB / 414.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4957, allocations: 11.95 kB / 414.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-05/0.4958, allocations: 40 kB / 414.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.4961, allocations: 136.8 kB / 415 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.4965, allocations: 122.3 kB / 415.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006172/0.4971, allocations: 0.6695 MB / 415.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.4979, allocations: 87.47 kB / 415.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.498, allocations: 32.56 kB / 415.9 MB, free: 1.137 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005048/0.4985, allocations: 285.9 kB / 416.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.4986, allocations: 185.8 kB / 416.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.5005, allocations: 0.787 MB / 417.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.5006, allocations: 4 kB / 417.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5006, allocations: 0 / 417.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5006, allocations: 0 / 417.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.503, allocations: 1.355 MB / 418.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/0.503, allocations: 32 kB / 418.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.5033, allocations: 63.95 kB / 418.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.5035, allocations: 120.8 kB / 418.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.5036, allocations: 27.94 kB / 418.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005585/0.5041, allocations: 0.6655 MB / 419.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5042, allocations: 0 / 419.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.5054, allocations: 0.7594 MB / 420.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.5059, allocations: 276.8 kB / 420.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.5062, allocations: 11.98 kB / 420.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.5067, allocations: 35.97 kB / 420.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.5068, allocations: 35.95 kB / 420.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.5069, allocations: 27.98 kB / 420.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.5083, allocations: 0.9415 MB / 421.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5083, allocations: 0 / 421.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001234/0.5095, allocations: 323.8 kB / 421.8 MB, free: 11.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.5107, allocations: 0.5536 MB / 422.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.512, allocations: 0.5536 MB / 422.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5121, allocations: 0 / 422.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006428/0.5127, allocations: 323.3 kB / 423.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5141, allocations: 292.8 kB / 423.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.5184, allocations: 2.549 MB / 426.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.5192, allocations: 1.148 MB / 427.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.5194, allocations: 91.42 kB / 427.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5194, allocations: 0 / 427.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of Templates: time 0.04004/0.5595, allocations: 25.59 MB / 452.9 MB, free: 12.05 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.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_4.0.0_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.o] Error 1