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.001443/0.001443, allocations: 99.61 kB / 17.96 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.001931/0.001931, allocations: 172.7 kB / 18.86 MB, free: 4.777 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.162/2.162, 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.0005567/0.0005569, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1448, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.008248/0.1531, allocations: 7.251 MB / 336.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02432/0.1774, allocations: 18.39 MB / 355.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1791, allocations: 35.69 kB / 355.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.1824, allocations: 0.7564 MB / 356 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.1908, allocations: 1.473 MB / 357.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006029/0.1969, allocations: 1.074 MB / 358.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006451/0.2034, allocations: 3.116 MB / 361.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.2039, allocations: 213 kB / 361.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009628/0.2049, allocations: 489.6 kB / 362.4 MB, free: 2.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.2055, allocations: 0.5317 MB / 362.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.2056, allocations: 24 kB / 362.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.2109, allocations: 1.105 MB / 364 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.2112, allocations: 158.7 kB / 364.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009624/0.2121, allocations: 0.6849 MB / 364.9 MB, free: 324 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.2143, allocations: 1.581 MB / 366.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2143, allocations: 0 / 366.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.2144, allocations: 0 / 366.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.2144, allocations: 3.938 kB / 366.5 MB, free: 14.73 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003075/0.2175, allocations: 1.803 MB / 368.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.2175, allocations: 8.031 kB / 368.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.2178, allocations: 197.7 kB / 368.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2197, allocations: 1.37 MB / 369.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2198, allocations: 20.56 kB / 369.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.2199, allocations: 27.98 kB / 369.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.2209, allocations: 453.2 kB / 370.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2209, allocations: 0 / 370.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.221, allocations: 15.98 kB / 370.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.221, allocations: 4 kB / 370.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2221, allocations: 0.5098 MB / 370.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.225, allocations: 1.639 MB / 372.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.226, allocations: 427.2 kB / 372.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.2268, allocations: 425.9 kB / 373.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3371/0.5639, allocations: 15.24 MB / 388.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008753/0.5648, allocations: 276.6 kB / 388.8 MB, free: 48.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.437e-06/0.5649, allocations: 0 / 388.8 MB, free: 48.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002942/0.5678, allocations: 0.9146 MB / 389.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.5679, allocations: 58.16 kB / 389.8 MB, free: 47.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.5709, allocations: 1.47 MB / 391.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.5709, allocations: 31.95 kB / 391.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.5718, allocations: 0.7243 MB / 392 MB, free: 46.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5719, allocations: 85.72 kB / 392.1 MB, free: 46.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.572, allocations: 46.92 kB / 392.2 MB, free: 46.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5721, allocations: 324.8 kB / 392.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.5727, allocations: 182.6 kB / 392.7 MB, free: 46.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.5734, allocations: 391.5 kB / 393 MB, free: 46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.5747, allocations: 0.5789 MB / 393.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5747, allocations: 1.531 kB / 393.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002036/0.5768, allocations: 0.8002 MB / 394.4 MB, free: 45.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.5768, allocations: 7.594 kB / 394.4 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.519e-05/0.5769, allocations: 38.91 kB / 394.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.5774, allocations: 139.6 kB / 394.6 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.5779, allocations: 111.1 kB / 394.7 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007109/0.5786, allocations: 0.6889 MB / 395.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.5794, allocations: 86.2 kB / 395.5 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.5795, allocations: 37.12 kB / 395.5 MB, free: 44.7 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 (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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005084/0.58, allocations: 270.4 kB / 395.8 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.5802, allocations: 184.3 kB / 396 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.5824, allocations: 0.7993 MB / 396.8 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5824, allocations: 4 kB / 396.8 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.5824, allocations: 4.266 kB / 396.8 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5824, allocations: 11.41 kB / 396.8 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.5849, allocations: 1.35 MB / 398.1 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.913e-05/0.5849, allocations: 32.84 kB / 398.2 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.5852, allocations: 59.45 kB / 398.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.5855, allocations: 127.4 kB / 398.4 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.5856, allocations: 18.69 kB / 398.4 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/0.5861, allocations: 0.6741 MB / 399 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5862, allocations: 3.938 kB / 399.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.5877, allocations: 0.7457 MB / 399.8 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.5881, allocations: 289.5 kB / 400.1 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5883, allocations: 15.12 kB / 400.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.5887, allocations: 34.75 kB / 400.1 MB, free: 42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5889, allocations: 38.67 kB / 400.2 MB, free: 41.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.5889, allocations: 21.98 kB / 400.2 MB, free: 41.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.5903, allocations: 0.9724 MB / 401.2 MB, free: 41.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5903, allocations: 0 / 401.2 MB, free: 41.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001222/0.5915, allocations: 332.1 kB / 401.5 MB, free: 41.4 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.5926, allocations: 0.5766 MB / 402.1 MB, free: 41.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.5941, allocations: 0.5547 MB / 402.6 MB, free: 40.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5941, allocations: 0 / 402.6 MB, free: 40.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.5948, allocations: 313.2 kB / 402.9 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5959, allocations: 255 kB / 403.2 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.5994, allocations: 2.731 MB / 405.9 MB, free: 38.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.6, allocations: 1.153 MB / 407.1 MB, free: 36.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.6002, allocations: 95.44 kB / 407.1 MB, free: 36.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6002, allocations: 0 / 407.1 MB, free: 36.89 MB / 318.1 MB Notification: Performance of Templates: time 0.03431/0.6345, allocations: 25.7 MB / 432.9 MB, free: 11.2 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++ -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.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