Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008202/0.0008202, allocations: 89.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 202.4 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002475, allocations: 8 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004091/0.1308, allocations: 3.144 MB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1334, allocations: 1.36 MB / 363.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.1336, allocations: 8 kB / 363.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1341, allocations: 123.4 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008856/0.135, allocations: 318.1 kB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.1359, allocations: 464.3 kB / 364.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.1364, allocations: 426.1 kB / 364.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.1376, allocations: 0.6405 MB / 365.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1379, allocations: 179.3 kB / 365.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1382, allocations: 219.1 kB / 365.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.1382, allocations: 24 kB / 365.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1387, allocations: 179.8 kB / 365.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.1388, allocations: 79.61 kB / 365.9 MB, free: 7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.1389, allocations: 101.5 kB / 366 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.1394, allocations: 0.5066 MB / 366.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1394, allocations: 0 / 366.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1394, allocations: 3.938 kB / 366.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1395, allocations: 0 / 366.5 MB, free: 6.383 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.1413, allocations: 0.8271 MB / 367.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1414, allocations: 8.031 kB / 367.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.1446, allocations: 0.4911 MB / 367.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.1451, allocations: 306.3 kB / 368.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.1452, allocations: 41.27 kB / 368.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.1452, allocations: 59.98 kB / 368.2 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.1462, allocations: 0.5063 MB / 368.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.1463, allocations: 4 kB / 368.8 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.1463, allocations: 20 kB / 368.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1463, allocations: 12 kB / 368.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.1473, allocations: 0.5751 MB / 369.4 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.1501, allocations: 1.956 MB / 371.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2728/0.4229, allocations: 2.176 MB / 373.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.4236, allocations: 215.7 kB / 373.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4237, allocations: 171.1 kB / 373.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4238, allocations: 38.81 kB / 373.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.4238, allocations: 0.5312 kB / 373.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002075/0.4259, allocations: 0.8017 MB / 374.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4259, allocations: 57.66 kB / 374.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4261, allocations: 185.3 kB / 374.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.4262, allocations: 33.98 kB / 375 MB, free: 17.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4263, allocations: 231.6 kB / 375.2 MB, free: 17.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.4264, allocations: 161.4 kB / 375.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.4264, allocations: 10.44 kB / 375.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.4265, allocations: 342.1 kB / 375.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.4269, allocations: 152.2 kB / 375.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.4273, allocations: 227.8 kB / 376.1 MB, free: 16.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.4277, allocations: 184.8 kB / 376.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4277, allocations: 1.5 kB / 376.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001139/0.4289, allocations: 0.5421 MB / 376.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4289, allocations: 8.75 kB / 376.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4289, allocations: 3.312 kB / 376.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.4293, allocations: 86.34 kB / 376.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.4297, allocations: 96.38 kB / 377 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.4315, allocations: 1.844 MB / 378.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.4317, allocations: 50.05 kB / 378.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.4318, allocations: 18.62 kB / 378.9 MB, free: 15.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.0001851/0.432, allocations: 166.9 kB / 379.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.432, allocations: 28.91 kB / 379.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4331, allocations: 0.548 MB / 379.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4332, allocations: 4.594 kB / 379.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4332, allocations: 5.516 kB / 379.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4332, allocations: 2.812 kB / 379.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4349, allocations: 1.153 MB / 380.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.435, allocations: 1.062 kB / 380.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.4353, allocations: 73.92 kB / 380.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.4355, allocations: 88.69 kB / 381 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4356, allocations: 14.45 kB / 381 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.4371, allocations: 1.837 MB / 382.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4371, allocations: 1.312 kB / 382.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4384, allocations: 0.8068 MB / 383.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4384, allocations: 107.5 kB / 383.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.4385, allocations: 9.719 kB / 383.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4387, allocations: 22.7 kB / 383.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.4388, allocations: 32.88 kB / 383.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4388, allocations: 15.88 kB / 383.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.439, allocations: 130.7 kB / 383.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.439, allocations: 4.062 kB / 383.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.4396, allocations: 152.2 kB / 384.1 MB, free: 11.9 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.0002476/0.4399, allocations: 138.8 kB / 384.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4409, allocations: 0.5717 MB / 384.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4409, allocations: 0 / 384.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.4415, allocations: 384.9 kB / 385.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4419, allocations: 34.47 kB / 385.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4434, allocations: 1.034 MB / 386.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4437, allocations: 0.8094 MB / 387.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4438, allocations: 36.94 kB / 387.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4438, allocations: 1.344 kB / 387.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of Templates: time 0.012/0.4559, allocations: 6.265 MB / 393.4 MB, free: 8.219 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o] Error 1