Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 97.75 kB / 16.96 MB, free: 6.41 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.001061/0.001061, allocations: 179.5 kB / 17.84 MB, free: 5.969 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.545/1.545, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 4 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1332, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003923/0.1372, allocations: 3.127 MB / 355 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1399, allocations: 1.301 MB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1401, allocations: 8 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.1406, allocations: 123.4 kB / 356.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1416, allocations: 449.4 kB / 356.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.1423, allocations: 346.9 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.1428, allocations: 418 kB / 357.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1439, allocations: 0.6486 MB / 358.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.1442, allocations: 167.2 kB / 358.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1445, allocations: 227 kB / 358.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1445, allocations: 20 kB / 358.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.1449, allocations: 175.8 kB / 358.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.145, allocations: 71.69 kB / 358.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.1451, allocations: 101.5 kB / 359 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.1456, allocations: 0.5105 MB / 359.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1456, allocations: 0 / 359.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1456, allocations: 4 kB / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1456, allocations: 0 / 359.5 MB, free: 12.3 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001863/0.1475, allocations: 0.8232 MB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1476, allocations: 12.03 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.1508, allocations: 498.9 kB / 360.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.1513, allocations: 302.4 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.1513, allocations: 41.31 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.1514, allocations: 48 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.1524, allocations: 0.5179 MB / 361.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1525, allocations: 4 kB / 361.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.1525, allocations: 23.95 kB / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.1525, allocations: 16 kB / 361.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1536, allocations: 0.5673 MB / 362.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.1564, allocations: 1.881 MB / 364.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1587, allocations: 2.195 MB / 366.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.1591, allocations: 214.1 kB / 366.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/0.1592, allocations: 93.52 kB / 366.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.1592, allocations: 39 kB / 366.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.1592, allocations: 4 kB / 366.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001862/0.1611, allocations: 0.8011 MB / 367.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1612, allocations: 67.73 kB / 367.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1614, allocations: 174.4 kB / 367.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1614, allocations: 33.7 kB / 367.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1616, allocations: 224.3 kB / 368.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.1617, allocations: 157.7 kB / 368.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.1617, allocations: 12 kB / 368.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1619, allocations: 334.8 kB / 368.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.1622, allocations: 153.1 kB / 368.7 MB, free: 2.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1626, allocations: 228.8 kB / 368.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.1629, allocations: 184.7 kB / 369.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1629, allocations: 0 / 369.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001023/0.164, allocations: 0.5434 MB / 369.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.164, allocations: 8 kB / 369.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.164, allocations: 0 / 369.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.1644, allocations: 88.8 kB / 369.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1647, allocations: 95.89 kB / 369.8 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2389/0.4036, allocations: 1.833 MB / 371.7 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.4041, allocations: 47.28 kB / 371.7 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.4042, allocations: 18.41 kB / 371.7 MB, free: 23.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.4045, allocations: 170.2 kB / 371.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.4046, allocations: 24.41 kB / 371.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.406, allocations: 0.5576 MB / 372.5 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.406, allocations: 10.17 kB / 372.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.406, allocations: 3 kB / 372.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.406, allocations: 6.172 kB / 372.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.4083, allocations: 1.132 MB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4083, allocations: 3.828 kB / 373.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.4087, allocations: 77.53 kB / 373.7 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.409, allocations: 91.02 kB / 373.8 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.409, allocations: 11.33 kB / 373.8 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.4109, allocations: 1.84 MB / 375.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4109, allocations: 1.984 kB / 375.7 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4123, allocations: 0.8004 MB / 376.5 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.4124, allocations: 116.5 kB / 376.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4125, allocations: 10.75 kB / 376.6 MB, free: 21.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4127, allocations: 26.5 kB / 376.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4128, allocations: 37.42 kB / 376.6 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.4128, allocations: 16.27 kB / 376.7 MB, free: 20.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.413, allocations: 132.8 kB / 376.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.413, allocations: 0 / 376.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006902/0.4137, allocations: 144.4 kB / 376.9 MB, free: 20.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.4139, allocations: 137.3 kB / 377.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4151, allocations: 0.5721 MB / 377.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4151, allocations: 0 / 377.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.4157, allocations: 386.3 kB / 378 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4161, allocations: 35.55 kB / 378.1 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4177, allocations: 1.035 MB / 379.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4182, allocations: 0.8056 MB / 379.9 MB, free: 18.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4183, allocations: 33.48 kB / 379.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4183, allocations: 1.312 kB / 379.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01261/0.4309, allocations: 6.238 MB / 386.2 MB, free: 17.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o] Error 1