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.001644/0.001644, allocations: 101.5 kB / 17.8 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.002004/0.002004, allocations: 194 kB / 18.72 MB, free: 4.762 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.947/1.947, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001304/0.001304, allocations: 51.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 46.63 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.01139/0.1634, allocations: 7.687 MB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.1888, allocations: 18.67 MB / 353.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.1911, allocations: 35.69 kB / 353.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.1946, allocations: 0.7438 MB / 354.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009335/0.204, allocations: 1.461 MB / 355.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006136/0.2102, allocations: 1.074 MB / 356.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.2166, allocations: 3.12 MB / 360 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005556/0.2172, allocations: 225 kB / 360.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.2181, allocations: 485.6 kB / 360.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.2187, allocations: 0.5473 MB / 361.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2189, allocations: 28 kB / 361.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/0.2246, allocations: 1.105 MB / 362.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.2249, allocations: 162.7 kB / 362.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009888/0.2259, allocations: 0.6676 MB / 363.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.2284, allocations: 1.605 MB / 364.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.2284, allocations: 0 / 364.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.2285, allocations: 0 / 364.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.2285, allocations: 7.938 kB / 364.9 MB, free: 15.13 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.003731/0.2322, allocations: 2.016 MB / 366.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.2323, allocations: 12.03 kB / 366.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.2326, allocations: 193.7 kB / 367.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.2348, allocations: 1.37 MB / 368.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2348, allocations: 20.56 kB / 368.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.2349, allocations: 31.89 kB / 368.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.2359, allocations: 425.2 kB / 368.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2359, allocations: 0 / 368.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.236, allocations: 12 kB / 368.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.236, allocations: 19.98 kB / 368.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.2371, allocations: 466.1 kB / 369.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.24, allocations: 1.627 MB / 371 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.241, allocations: 383.2 kB / 371.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.2417, allocations: 405.9 kB / 371.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2903/0.532, allocations: 15.22 MB / 387 MB, free: 49.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007479/0.5328, allocations: 254.7 kB / 387.3 MB, free: 49.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.5328, allocations: 0 / 387.3 MB, free: 49.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002322/0.5352, allocations: 0.8506 MB / 388.1 MB, free: 49.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5352, allocations: 57.12 kB / 388.2 MB, free: 49.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.5376, allocations: 1.467 MB / 389.6 MB, free: 48.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.5376, allocations: 32.7 kB / 389.7 MB, free: 48.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.5382, allocations: 0.7222 MB / 390.4 MB, free: 48.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.5383, allocations: 94.66 kB / 390.5 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5385, allocations: 122 kB / 390.6 MB, free: 48.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.5386, allocations: 326.9 kB / 390.9 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.5391, allocations: 167 kB / 391.1 MB, free: 47.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.5398, allocations: 351.7 kB / 391.4 MB, free: 47.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5411, allocations: 0.539 MB / 392 MB, free: 47.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.5411, allocations: 2.938 kB / 392 MB, free: 47.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002126/0.5432, allocations: 0.761 MB / 392.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.5433, allocations: 8 kB / 392.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.5434, allocations: 41.81 kB / 392.8 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.5439, allocations: 135.2 kB / 392.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5444, allocations: 105.6 kB / 393 MB, free: 46.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/0.5451, allocations: 0.6807 MB / 393.7 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.5458, allocations: 74.97 kB / 393.8 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.5459, allocations: 35.78 kB / 393.8 MB, free: 46.11 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.0005632/0.5465, allocations: 274.4 kB / 394.1 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.5467, allocations: 187.4 kB / 394.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.5487, allocations: 0.7502 MB / 395 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5487, allocations: 3.688 kB / 395 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5487, allocations: 3.391 kB / 395 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5487, allocations: 1.969 kB / 395 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.5507, allocations: 1.319 MB / 396.3 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/0.5508, allocations: 38.41 kB / 396.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.551, allocations: 47.42 kB / 396.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.5513, allocations: 123.6 kB / 396.5 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.5513, allocations: 20.56 kB / 396.6 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006221/0.552, allocations: 0.6691 MB / 397.2 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.552, allocations: 3.938 kB / 397.2 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5533, allocations: 0.7101 MB / 397.9 MB, free: 43.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.5537, allocations: 285.9 kB / 398.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.5539, allocations: 11.84 kB / 398.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.5543, allocations: 25.72 kB / 398.3 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.5544, allocations: 37.95 kB / 398.3 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.5545, allocations: 25.86 kB / 398.3 MB, free: 43.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.5559, allocations: 0.9625 MB / 399.3 MB, free: 42.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5559, allocations: 0 / 399.3 MB, free: 42.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001166/0.5571, allocations: 335.2 kB / 399.6 MB, free: 42.87 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.0009677/0.558, allocations: 0.5871 MB / 400.2 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.5594, allocations: 0.5125 MB / 400.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5594, allocations: 11.89 kB / 400.7 MB, free: 42.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.56, allocations: 283 kB / 401 MB, free: 42.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.561, allocations: 247.3 kB / 401.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.5644, allocations: 2.686 MB / 403.9 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.5649, allocations: 1.153 MB / 405.1 MB, free: 38.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5651, allocations: 87.44 kB / 405.2 MB, free: 38.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5651, allocations: 0 / 405.2 MB, free: 38.8 MB / 318.1 MB Notification: Performance of Templates: time 0.02983/0.5949, allocations: 25.89 MB / 431 MB, free: 12.92 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