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.001073/0.001072, allocations: 101 kB / 17.96 MB, free: 5.766 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.001328/0.001328, allocations: 177.1 kB / 18.86 MB, free: 4.906 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.197/2.197, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005561/0.0005561, allocations: 12 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1377, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.006179/0.1439, allocations: 3.352 MB / 333 MB, free: 372 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.148, allocations: 1.43 MB / 334.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.1488, allocations: 15.94 kB / 334.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.1497, allocations: 167.3 kB / 334.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.152, allocations: 0.5097 MB / 335.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1531, allocations: 398.9 kB / 335.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.1539, allocations: 477.8 kB / 335.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1554, allocations: 0.7039 MB / 336.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.1558, allocations: 191 kB / 336.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.1562, allocations: 246.9 kB / 337.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.1562, allocations: 24 kB / 337.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.1568, allocations: 187.8 kB / 337.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.1569, allocations: 87.61 kB / 337.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1572, allocations: 244.4 kB / 337.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.1579, allocations: 0.5222 MB / 338.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1579, allocations: 0 / 338.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1579, allocations: 0 / 338.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1579, allocations: 4 kB / 338.1 MB, free: 11.15 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.002158/0.1601, allocations: 0.8273 MB / 339 MB, free: 10.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1602, allocations: 12.03 kB / 339 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.1643, allocations: 0.6012 MB / 339.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.1648, allocations: 315.6 kB / 339.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.1649, allocations: 41.69 kB / 339.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.165, allocations: 56.38 kB / 340 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1661, allocations: 0.557 MB / 340.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1662, allocations: 0 / 340.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.1662, allocations: 28 kB / 340.6 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1663, allocations: 16 kB / 340.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.1675, allocations: 0.6415 MB / 341.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.1709, allocations: 2.057 MB / 343.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.1742, allocations: 3.017 MB / 346.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.1746, allocations: 226 kB / 346.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.1747, allocations: 97.52 kB / 346.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1748, allocations: 35 kB / 346.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.434e-06/0.1748, allocations: 4 kB / 346.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.002092/0.1769, allocations: 0.8129 MB / 347.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.177, allocations: 59.78 kB / 347.5 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1772, allocations: 208.4 kB / 347.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1773, allocations: 29.7 kB / 347.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1775, allocations: 248.1 kB / 348 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1777, allocations: 169.5 kB / 348.2 MB, free: 244 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1777, allocations: 45.7 kB / 348.2 MB, free: 192 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.178, allocations: 338.8 kB / 348.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.1783, allocations: 165 kB / 348.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1787, allocations: 278 kB / 349 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.1795, allocations: 476.5 kB / 349.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1795, allocations: 0 / 349.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001089/0.1806, allocations: 0.5904 MB / 350 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1807, allocations: 11.88 kB / 350 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1807, allocations: 7.938 kB / 350 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.1811, allocations: 100.7 kB / 350.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1815, allocations: 103.9 kB / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.1836, allocations: 1.858 MB / 352.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.1839, allocations: 63.42 kB / 352.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.184, allocations: 20 kB / 352.2 MB, free: 11.97 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.1842, allocations: 173.7 kB / 352.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1843, allocations: 23.72 kB / 352.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.1855, allocations: 0.5629 MB / 352.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1855, allocations: 4 kB / 352.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1855, allocations: 0 / 352.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.1855, allocations: 7.922 kB / 352.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.1874, allocations: 1.153 MB / 354.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1874, allocations: 0 / 354.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1877, allocations: 87.89 kB / 354.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.188, allocations: 84.94 kB / 354.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.188, allocations: 15.92 kB / 354.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.1902, allocations: 1.854 MB / 356.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1902, allocations: 4.031 kB / 356.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1916, allocations: 0.8078 MB / 357 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1917, allocations: 120.6 kB / 357.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.1918, allocations: 8 kB / 357.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.192, allocations: 28.05 kB / 357.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.1921, allocations: 32.39 kB / 357.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.1921, allocations: 12 kB / 357.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.1923, allocations: 156.1 kB / 357.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1923, allocations: 0 / 357.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.193, allocations: 155.5 kB / 357.5 MB, free: 6.438 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/0.1933, allocations: 131.2 kB / 357.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1945, allocations: 0.6054 MB / 358.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.1945, allocations: 4.25 kB / 358.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.1952, allocations: 385.1 kB / 358.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1955, allocations: 35.94 kB / 358.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.1974, allocations: 1.153 MB / 359.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.1979, allocations: 0.8177 MB / 360.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1981, allocations: 39.42 kB / 360.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1981, allocations: 3.938 kB / 360.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.2083, allocations: 6.524 MB / 367.1 MB, free: 12.65 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++ -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.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