Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001931/0.00193, allocations: 105.4 kB / 17.8 MB, free: 5.684 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.002085/0.002085, allocations: 201.9 kB / 18.73 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.1 MB / 224.6 MB, free: 12.39 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.001254/0.001255, allocations: 44.31 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 46.63 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005808/0.1516, allocations: 3.267 MB / 330.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1541, allocations: 1.336 MB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1544, allocations: 8 kB / 331.9 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.1549, allocations: 123.4 kB / 332 MB, free: 120 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000953/0.1558, allocations: 334.4 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.1563, allocations: 235.4 kB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.157, allocations: 434.1 kB / 333 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.1573, allocations: 128.8 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1575, allocations: 143.4 kB / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.1578, allocations: 199.1 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.1578, allocations: 28 kB / 333.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.1582, allocations: 143.8 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.1582, allocations: 71.69 kB / 333.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1584, allocations: 191 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.159, allocations: 407.2 kB / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.159, allocations: 0 / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.159, allocations: 0 / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.159, allocations: 7.938 kB / 334.3 MB, free: 13.84 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001668/0.1607, allocations: 0.7371 MB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1607, allocations: 8.031 kB / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.1613, allocations: 92.41 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.1618, allocations: 316.4 kB / 335.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1618, allocations: 25.38 kB / 335.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.1619, allocations: 36.38 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.1626, allocations: 357.6 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1626, allocations: 0 / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.1626, allocations: 12 kB / 335.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1627, allocations: 8 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.1632, allocations: 246 kB / 336.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1654, allocations: 1.327 MB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.1658, allocations: 197.1 kB / 337.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.166, allocations: 85.67 kB / 337.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.167, allocations: 0.8714 MB / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1671, allocations: 38.5 kB / 338.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.1671, allocations: 4 kB / 338.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005893/0.1677, allocations: 229.1 kB / 338.8 MB, free: 8.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1678, allocations: 81.05 kB / 338.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.1681, allocations: 282.9 kB / 339.2 MB, free: 8.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1681, allocations: 25.7 kB / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1683, allocations: 239.5 kB / 339.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.1684, allocations: 63.09 kB / 339.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1685, allocations: 62.03 kB / 339.5 MB, free: 8.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1687, allocations: 342.8 kB / 339.9 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.1689, allocations: 68.61 kB / 339.9 MB, free: 7.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1692, allocations: 206.3 kB / 340.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.1697, allocations: 288.9 kB / 340.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1697, allocations: 4 kB / 340.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005294/0.1702, allocations: 321.2 kB / 340.7 MB, free: 6.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1703, allocations: 8.094 kB / 340.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1703, allocations: 8 kB / 340.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/0.1703, allocations: 4 kB / 340.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1706, allocations: 83.83 kB / 340.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1706, allocations: 7.938 kB / 340.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1708, allocations: 43.67 kB / 340.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1709, allocations: 12 kB / 340.9 MB, free: 6.66 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.171, allocations: 153.8 kB / 341.1 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.1711, allocations: 23.72 kB / 341.1 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.1712, allocations: 29.73 kB / 341.1 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1712, allocations: 3.938 kB / 341.1 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1712, allocations: 8.188 kB / 341.1 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1712, allocations: 0 / 341.1 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.172, allocations: 0.5108 MB / 341.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.172, allocations: 8.031 kB / 341.6 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.1722, allocations: 55.78 kB / 341.7 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1722, allocations: 4 kB / 341.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1723, allocations: 3.984 kB / 341.7 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1723, allocations: 0 / 341.7 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1723, allocations: 4 kB / 341.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.1729, allocations: 422.3 kB / 342.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.173, allocations: 104.7 kB / 342.2 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.173, allocations: 8 kB / 342.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1732, allocations: 15.92 kB / 342.2 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.1733, allocations: 11.98 kB / 342.3 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1733, allocations: 12.05 kB / 342.3 MB, free: 5.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1735, allocations: 198 kB / 342.5 MB, free: 4.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1736, allocations: 4 kB / 342.5 MB, free: 4.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.174, allocations: 79.75 kB / 342.5 MB, free: 4.914 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.1742, allocations: 103.2 kB / 342.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.1746, allocations: 187.7 kB / 342.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1746, allocations: 0 / 342.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1748, allocations: 69.03 kB / 342.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.1753, allocations: 45.42 kB / 342.9 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1766, allocations: 0.8027 MB / 343.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.177, allocations: 0.7718 MB / 344.5 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.1771, allocations: 27.44 kB / 344.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1771, allocations: 4 kB / 344.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of Templates: time 0.006157/0.1833, allocations: 3.412 MB / 348 MB, free: 15.44 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o] Error 1