Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 94.38 kB / 16.95 MB, free: 5.953 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.002083/0.002083, allocations: 178.6 kB / 17.84 MB, free: 5.621 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.511/1.511, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 8 kB / 301.5 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 50.42 MB / 351.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006161/0.1642, allocations: 3.123 MB / 355 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1679, allocations: 1.309 MB / 356.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.1682, allocations: 12 kB / 356.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.1688, allocations: 127.4 kB / 356.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1704, allocations: 445.5 kB / 356.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1715, allocations: 346.2 kB / 357.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.1722, allocations: 426 kB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.1741, allocations: 0.7105 MB / 358.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1745, allocations: 175.3 kB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1749, allocations: 223 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.175, allocations: 20 kB / 358.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.1756, allocations: 175.8 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1757, allocations: 75.69 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1758, allocations: 105.4 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.1767, allocations: 0.5105 MB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1767, allocations: 0 / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1767, allocations: 4 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1767, allocations: 0 / 359.6 MB, free: 11.98 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.002865/0.1796, allocations: 0.831 MB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1797, allocations: 12.03 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.1849, allocations: 498.9 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.1857, allocations: 298.4 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.1857, allocations: 37.31 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1859, allocations: 56 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1875, allocations: 0.5296 MB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.1875, allocations: 7.953 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.1876, allocations: 24 kB / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1877, allocations: 12 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.1893, allocations: 0.579 MB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.1924, allocations: 1.879 MB / 364.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.1948, allocations: 2.174 MB / 366.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.1953, allocations: 258.1 kB / 366.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.1954, allocations: 97.47 kB / 366.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1955, allocations: 42.95 kB / 366.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.1955, allocations: 4 kB / 366.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001731/0.1972, allocations: 0.7466 MB / 367.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1973, allocations: 67.73 kB / 367.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1975, allocations: 182.3 kB / 367.9 MB, free: 3.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1976, allocations: 29.7 kB / 367.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1977, allocations: 220.4 kB / 368.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1979, allocations: 161.7 kB / 368.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.1979, allocations: 4 kB / 368.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1981, allocations: 338.8 kB / 368.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.1983, allocations: 161 kB / 368.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1987, allocations: 242.6 kB / 369 MB, free: 1.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.199, allocations: 184.7 kB / 369.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1991, allocations: 0 / 369.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000964/0.2, allocations: 0.5396 MB / 369.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2001, allocations: 8 kB / 369.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2001, allocations: 0 / 369.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.2004, allocations: 84.8 kB / 369.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.2008, allocations: 99.83 kB / 370 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2899/0.4907, allocations: 1.64 MB / 371.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.4912, allocations: 47.22 kB / 371.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4912, allocations: 17.39 kB / 371.7 MB, free: 23.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.4915, allocations: 168.4 kB / 371.8 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.4916, allocations: 23.58 kB / 371.8 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.493, allocations: 0.5499 MB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.493, allocations: 5.25 kB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.493, allocations: 1.562 kB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4931, allocations: 7.094 kB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.4951, allocations: 1.155 MB / 373.6 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4952, allocations: 1.062 kB / 373.6 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.4955, allocations: 83.59 kB / 373.6 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.4958, allocations: 76.25 kB / 373.7 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.4959, allocations: 13.14 kB / 373.7 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.4974, allocations: 1.645 MB / 375.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4974, allocations: 1.281 kB / 375.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.4988, allocations: 0.8099 MB / 376.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.4989, allocations: 114.9 kB / 376.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4989, allocations: 10.84 kB / 376.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4991, allocations: 22.78 kB / 376.3 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4992, allocations: 38.81 kB / 376.4 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4993, allocations: 20.12 kB / 376.4 MB, free: 20.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4994, allocations: 131.9 kB / 376.5 MB, free: 20.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4994, allocations: 1.562 kB / 376.5 MB, free: 20.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.5001, allocations: 138.2 kB / 376.7 MB, free: 20.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.5003, allocations: 149.2 kB / 376.8 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.5014, allocations: 0.5732 MB / 377.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5014, allocations: 0 / 377.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.5021, allocations: 392.6 kB / 377.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.5025, allocations: 28.97 kB / 377.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.504, allocations: 1.047 MB / 378.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5043, allocations: 0.8088 MB / 379.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5044, allocations: 38.95 kB / 379.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5044, allocations: 0 / 379.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01243/0.5169, allocations: 6.27 MB / 386 MB, free: 17.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o] Error 1