Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.0008722, allocations: 95.11 kB / 17.63 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009478/0.000948, allocations: 196.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003808/0.1368, allocations: 3.148 MB / 361.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1394, allocations: 1.36 MB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1396, allocations: 8 kB / 363.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.1401, allocations: 127.4 kB / 363.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008705/0.1409, allocations: 302.7 kB / 363.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.1418, allocations: 473.8 kB / 364.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.1423, allocations: 418.1 kB / 364.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1437, allocations: 0.7072 MB / 365.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.144, allocations: 171.3 kB / 365.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1443, allocations: 227.1 kB / 365.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1443, allocations: 20 kB / 365.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.1448, allocations: 183.8 kB / 365.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.1449, allocations: 83.61 kB / 366 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.145, allocations: 97.52 kB / 366.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.1456, allocations: 0.5222 MB / 366.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1456, allocations: 0 / 366.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.1456, allocations: 0 / 366.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1456, allocations: 0 / 366.6 MB, free: 6.266 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.002006/0.1476, allocations: 0.8271 MB / 367.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1477, allocations: 8.031 kB / 367.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.1509, allocations: 0.4911 MB / 367.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.1513, allocations: 309.8 kB / 368.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.1514, allocations: 49.25 kB / 368.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.1515, allocations: 56 kB / 368.3 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.1525, allocations: 0.518 MB / 368.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.1525, allocations: 7.984 kB / 368.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.1526, allocations: 20 kB / 368.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1526, allocations: 12 kB / 368.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1536, allocations: 0.5907 MB / 369.5 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.1566, allocations: 1.95 MB / 371.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2529/0.4095, allocations: 2.171 MB / 373.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.4104, allocations: 262.6 kB / 373.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4106, allocations: 171.1 kB / 374 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.4107, allocations: 38.81 kB / 374.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.497e-06/0.4107, allocations: 0 / 374.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002062/0.4128, allocations: 0.757 MB / 374.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4128, allocations: 56.09 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4131, allocations: 183.2 kB / 375 MB, free: 17.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.4131, allocations: 36.58 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4133, allocations: 221.9 kB / 375.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4134, allocations: 157.4 kB / 375.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.4134, allocations: 8.625 kB / 375.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.4135, allocations: 339.5 kB / 375.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4139, allocations: 151.1 kB / 375.9 MB, free: 16.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.4143, allocations: 245.2 kB / 376.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.4148, allocations: 189.6 kB / 376.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4148, allocations: 0 / 376.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001208/0.416, allocations: 0.5457 MB / 376.9 MB, free: 16.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4161, allocations: 5.688 kB / 376.9 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4161, allocations: 2.281 kB / 376.9 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.4165, allocations: 82.84 kB / 377 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.4169, allocations: 100.4 kB / 377.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.4184, allocations: 1.648 MB / 378.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.4187, allocations: 54.48 kB / 378.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.4188, allocations: 18.45 kB / 378.8 MB, free: 15.23 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.0002158/0.419, allocations: 169.7 kB / 379 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.419, allocations: 28.55 kB / 379 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4202, allocations: 0.5504 MB / 379.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4202, allocations: 6.109 kB / 379.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4202, allocations: 1.375 kB / 379.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4202, allocations: 2.062 kB / 379.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.4221, allocations: 1.15 MB / 380.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4221, allocations: 1.641 kB / 380.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.4224, allocations: 78.41 kB / 380.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.4227, allocations: 82.02 kB / 380.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.4227, allocations: 9.172 kB / 380.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.424, allocations: 1.646 MB / 382.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4241, allocations: 1.438 kB / 382.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.4255, allocations: 0.8049 MB / 383.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.4256, allocations: 117 kB / 383.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.4257, allocations: 11.34 kB / 383.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4259, allocations: 22.39 kB / 383.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.426, allocations: 40.48 kB / 383.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4261, allocations: 13.78 kB / 383.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.4262, allocations: 131.2 kB / 383.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4262, allocations: 0 / 383.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006853/0.4269, allocations: 159 kB / 383.8 MB, free: 11.91 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.0003241/0.4272, allocations: 142 kB / 384 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4284, allocations: 0.5728 MB / 384.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4284, allocations: 0 / 384.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.429, allocations: 387.2 kB / 384.9 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.0003849/0.4294, allocations: 40 kB / 385 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.4312, allocations: 1.045 MB / 386 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4316, allocations: 0.8081 MB / 386.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.4318, allocations: 40.19 kB / 386.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4318, allocations: 0 / 386.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of Templates: time 0.01186/0.4437, allocations: 6.298 MB / 393.1 MB, free: 8.25 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o] Error 1