Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0008514/0.0008513, 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.0008803/0.0008803, 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.789/1.789, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.000444/0.000444, allocations: 12 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 47.59 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007619/0.122, allocations: 6.768 MB / 335.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.1428, allocations: 16.79 MB / 352.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.1442, allocations: 31.75 kB / 352.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1465, allocations: 0.6809 MB / 353.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006524/0.1531, allocations: 1.398 MB / 354.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.1578, allocations: 0.9911 MB / 355.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005878/0.1637, allocations: 2.992 MB / 358.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.1641, allocations: 201.1 kB / 358.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006828/0.1648, allocations: 445.8 kB / 359.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.1654, allocations: 0.5049 MB / 359.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.1655, allocations: 24 kB / 359.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.1695, allocations: 1.058 MB / 360.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1697, allocations: 139 kB / 361 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.17, allocations: 324.8 kB / 361.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.172, allocations: 1.577 MB / 362.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.172, allocations: 0 / 362.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.172, allocations: 3.984 kB / 362.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.172, allocations: 3.938 kB / 362.9 MB, free: 2.035 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.003027/0.1751, allocations: 1.815 MB / 364.7 MB, free: 164 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1751, allocations: 8.031 kB / 364.7 MB, free: 156 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.1754, allocations: 205.8 kB / 364.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1774, allocations: 1.293 MB / 366.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.1774, allocations: 20.55 kB / 366.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.1775, allocations: 28 kB / 366.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.1784, allocations: 449.2 kB / 366.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1784, allocations: 0 / 366.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.1785, allocations: 12 kB / 366.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1785, allocations: 12 kB / 366.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1796, allocations: 0.5059 MB / 367.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.1822, allocations: 1.643 MB / 368.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.1832, allocations: 411.4 kB / 369.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.1839, allocations: 437.8 kB / 369.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.282/0.4659, allocations: 15.23 MB / 384.9 MB, free: 50.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.467, allocations: 282.8 kB / 385.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.647e-06/0.467, allocations: 0 / 385.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.003065/0.4701, allocations: 0.9166 MB / 386.1 MB, free: 49.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.4702, allocations: 59.8 kB / 386.2 MB, free: 49.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.4729, allocations: 1.448 MB / 387.6 MB, free: 49.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.4729, allocations: 36.09 kB / 387.7 MB, free: 49.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/0.4736, allocations: 0.7211 MB / 388.4 MB, free: 48.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4737, allocations: 97.17 kB / 388.5 MB, free: 48.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.4738, allocations: 10.06 kB / 388.5 MB, free: 48.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4739, allocations: 331.3 kB / 388.8 MB, free: 48.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.4744, allocations: 180.4 kB / 389 MB, free: 48.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.475, allocations: 384 kB / 389.4 MB, free: 48.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.4756, allocations: 217.7 kB / 389.6 MB, free: 48.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.4756, allocations: 1.969 kB / 389.6 MB, free: 48.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001634/0.4772, allocations: 0.794 MB / 390.4 MB, free: 47.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4773, allocations: 9 kB / 390.4 MB, free: 47.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.008e-05/0.4774, allocations: 39.3 kB / 390.4 MB, free: 47.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.4778, allocations: 142.4 kB / 390.6 MB, free: 47.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.4782, allocations: 114.6 kB / 390.7 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006144/0.4788, allocations: 0.6807 MB / 391.3 MB, free: 47.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.4795, allocations: 87.53 kB / 391.4 MB, free: 47.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.4796, allocations: 34.86 kB / 391.5 MB, free: 47.2 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.0004942/0.4801, allocations: 276.6 kB / 391.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.4804, allocations: 186.5 kB / 391.9 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.4825, allocations: 0.7882 MB / 392.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4826, allocations: 11.47 kB / 392.7 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4826, allocations: 0.7969 kB / 392.7 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4826, allocations: 1.172 kB / 392.7 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.4851, allocations: 1.355 MB / 394.1 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-05/0.4852, allocations: 33.16 kB / 394.1 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.4855, allocations: 59.81 kB / 394.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.4857, allocations: 128.5 kB / 394.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4858, allocations: 17.75 kB / 394.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005478/0.4863, allocations: 0.6714 MB / 395 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4863, allocations: 1.188 kB / 395 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4876, allocations: 0.7557 MB / 395.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.488, allocations: 281.5 kB / 396 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.4881, allocations: 7.938 kB / 396 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.4885, allocations: 45.69 kB / 396.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.4886, allocations: 38.97 kB / 396.1 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.4887, allocations: 23.72 kB / 396.1 MB, free: 44.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.49, allocations: 0.9469 MB / 397.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.49, allocations: 0 / 397.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001155/0.4912, allocations: 334.7 kB / 397.4 MB, free: 44.33 MB / 318.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.001009/0.4922, allocations: 0.552 MB / 398 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.4936, allocations: 0.5532 MB / 398.5 MB, free: 44.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4936, allocations: 1.75 kB / 398.5 MB, free: 44.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.4942, allocations: 313.3 kB / 398.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/0.4951, allocations: 249 kB / 399.1 MB, free: 43.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.4988, allocations: 2.57 MB / 401.6 MB, free: 42.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.4994, allocations: 1.156 MB / 402.8 MB, free: 41.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4996, allocations: 90.19 kB / 402.9 MB, free: 41.24 MB / 318.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4996, allocations: 0 / 402.9 MB, free: 41.24 MB / 318.1 MB Notification: Performance of Templates: time 0.0299/0.5295, allocations: 25.71 MB / 428.6 MB, free: 15.59 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InverterCalcHelperMain.o] Error 1