Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 84.62 kB / 17.58 MB, free: 5.512 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.001348/0.001348, allocations: 191.3 kB / 18.48 MB, free: 5.074 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.953/1.953, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004866/0.0004867, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00427/0.1191, allocations: 3.172 MB / 332.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.122, allocations: 1.345 MB / 333.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.1226, allocations: 8 kB / 333.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005936/0.1232, allocations: 127.3 kB / 333.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.1247, allocations: 478.1 kB / 334.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.1255, allocations: 343.2 kB / 334.4 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.1263, allocations: 446 kB / 334.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.1277, allocations: 0.6522 MB / 335.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1281, allocations: 183.2 kB / 335.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.1285, allocations: 235 kB / 335.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.1287, allocations: 24 kB / 336 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.1292, allocations: 175.8 kB / 336.1 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1293, allocations: 99.53 kB / 336.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1294, allocations: 97.52 kB / 336.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.1302, allocations: 0.5222 MB / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1302, allocations: 0 / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1302, allocations: 0 / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.1302, allocations: 0 / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002171/0.1324, allocations: 0.8349 MB / 337.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1325, allocations: 8.031 kB / 337.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.1364, allocations: 0.5964 MB / 338.3 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.1369, allocations: 318.3 kB / 338.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.137, allocations: 41.31 kB / 338.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1371, allocations: 63.91 kB / 338.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.1382, allocations: 0.5492 MB / 339.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.1383, allocations: 0 / 339.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.1384, allocations: 28 kB / 339.3 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1384, allocations: 12 kB / 339.3 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1396, allocations: 0.6453 MB / 339.9 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.1429, allocations: 2.054 MB / 342 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.1456, allocations: 3.009 MB / 345 MB, free: 3.211 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.1461, allocations: 222.1 kB / 345.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.61e-05/0.1462, allocations: 93.52 kB / 345.3 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1462, allocations: 35 kB / 345.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.1462, allocations: 0 / 345.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001871/0.1481, allocations: 0.8167 MB / 346.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1482, allocations: 59.84 kB / 346.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1484, allocations: 200.4 kB / 346.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1484, allocations: 33.7 kB / 346.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1486, allocations: 244 kB / 346.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1487, allocations: 157.7 kB / 346.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1488, allocations: 16 kB / 346.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1489, allocations: 330.8 kB / 347.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1492, allocations: 165 kB / 347.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.1496, allocations: 282 kB / 347.6 MB, free: 464 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.15, allocations: 204.7 kB / 347.8 MB, free: 256 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.15, allocations: 3.938 kB / 347.8 MB, free: 252 kB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001068/0.1511, allocations: 0.5864 MB / 348.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1511, allocations: 8 kB / 348.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1512, allocations: 8 kB / 348.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.1515, allocations: 88.8 kB / 348.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1519, allocations: 107.8 kB / 348.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.1539, allocations: 1.858 MB / 350.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.1543, allocations: 59.42 kB / 350.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.1543, allocations: 20 kB / 350.5 MB, free: 13.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0002561/0.1546, allocations: 165.8 kB / 350.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1546, allocations: 31.72 kB / 350.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1557, allocations: 0.5629 MB / 351.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.1557, allocations: 7.953 kB / 351.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1557, allocations: 3.938 kB / 351.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1558, allocations: 7.984 kB / 351.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.1575, allocations: 1.145 MB / 352.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1575, allocations: 4 kB / 352.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.1578, allocations: 79.89 kB / 352.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.1581, allocations: 92.88 kB / 352.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.1581, allocations: 15.98 kB / 352.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.1599, allocations: 1.839 MB / 354.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.16, allocations: 3.953 kB / 354.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.1613, allocations: 0.8116 MB / 355.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.1614, allocations: 112.6 kB / 355.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.1614, allocations: 12 kB / 355.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1616, allocations: 23.98 kB / 355.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.1617, allocations: 32.39 kB / 355.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.1618, allocations: 15.95 kB / 355.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1619, allocations: 156.2 kB / 355.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1619, allocations: 0 / 355.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.1626, allocations: 151.5 kB / 355.8 MB, free: 7.859 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 (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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.1628, allocations: 131.2 kB / 355.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1639, allocations: 0.5971 MB / 356.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1639, allocations: 4 kB / 356.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.1645, allocations: 397.8 kB / 356.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1649, allocations: 36.12 kB / 356.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1667, allocations: 1.091 MB / 358 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1671, allocations: 0.8175 MB / 358.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1672, allocations: 39.42 kB / 358.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1672, allocations: 0 / 358.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of Templates: time 0.01025/0.1775, allocations: 6.553 MB / 365.4 MB, free: 14.11 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o] Error 1