Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.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.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc") translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001417/0.001417, allocations: 190 kB / 18.72 MB, free: 4.781 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.931/1.931, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.0014/0.0014, allocations: 51.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.148, allocations: 46.64 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.0054/0.1534, allocations: 2.862 MB / 330.1 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1553, allocations: 0.772 MB / 330.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.1557, allocations: 8 kB / 330.9 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.156, allocations: 35.69 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1564, allocations: 75.38 kB / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1569, allocations: 91.92 kB / 331.1 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.1574, allocations: 358.3 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1576, allocations: 95.92 kB / 331.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1578, allocations: 127.6 kB / 331.7 MB, free: 460 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.158, allocations: 155.2 kB / 331.8 MB, free: 304 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.1581, allocations: 24 kB / 331.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.1582, allocations: 20 kB / 331.9 MB, free: 260 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.1582, allocations: 59.77 kB / 331.9 MB, free: 200 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1584, allocations: 151.3 kB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1587, allocations: 267.5 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1588, allocations: 0 / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1588, allocations: 0 / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1588, allocations: 0 / 332.3 MB, free: 15.79 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001163/0.16, allocations: 0.6018 MB / 332.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.16, allocations: 8.031 kB / 332.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.1601, allocations: 36.56 kB / 333 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.1605, allocations: 272.2 kB / 333.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.1606, allocations: 76.62 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.1606, allocations: 32.38 kB / 333.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.1612, allocations: 301.8 kB / 333.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1612, allocations: 0 / 333.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1612, allocations: 12 kB / 333.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1612, allocations: 8 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.1616, allocations: 186.2 kB / 333.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1634, allocations: 1.135 MB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.1637, allocations: 150.6 kB / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1639, allocations: 84.81 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1639, allocations: 0 / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.1644, allocations: 161.8 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.1644, allocations: 0 / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001187/0.1656, allocations: 383.2 kB / 335.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1657, allocations: 114.8 kB / 335.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.166, allocations: 221 kB / 336.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.166, allocations: 33.69 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1662, allocations: 176.2 kB / 336.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.1663, allocations: 71 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1664, allocations: 57.69 kB / 336.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1665, allocations: 338.8 kB / 336.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1667, allocations: 63.97 kB / 336.8 MB, free: 11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.1669, allocations: 144.6 kB / 336.9 MB, free: 10.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.1673, allocations: 192.2 kB / 337.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1673, allocations: 0 / 337.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005143/0.1678, allocations: 283.6 kB / 337.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1678, allocations: 4 kB / 337.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1679, allocations: 4 kB / 337.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.1682, allocations: 56.97 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1684, allocations: 55.86 kB / 337.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.1699, allocations: 1.408 MB / 338.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1702, allocations: 39.67 kB / 339 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1702, allocations: 8 kB / 339 MB, free: 8.625 MB / 286.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: 10 ($whenCondition2,switch2.tSwitch,$PRE.switch2.tSwitch,switch2.quenched,$PRE.switch2.quenched,switch2.off,$PRE.switch2.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.1704, allocations: 145.8 kB / 339.1 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.1705, allocations: 27.83 kB / 339.1 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1705, allocations: 26.19 kB / 339.2 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1705, allocations: 8 kB / 339.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1705, allocations: 0 / 339.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.1705, allocations: 3.984 kB / 339.2 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1709, allocations: 313.4 kB / 339.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.171, allocations: 0 / 339.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1711, allocations: 43.86 kB / 339.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.1713, allocations: 48.81 kB / 339.6 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1714, allocations: 8 kB / 339.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.1727, allocations: 1.323 MB / 340.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1728, allocations: 0 / 340.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.1734, allocations: 322.3 kB / 341.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1736, allocations: 116.8 kB / 341.3 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1736, allocations: 11.98 kB / 341.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1738, allocations: 11.98 kB / 341.4 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.1739, allocations: 27.95 kB / 341.4 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1739, allocations: 11.94 kB / 341.4 MB, free: 5.961 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.1741, allocations: 164.5 kB / 341.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 0 / 341.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.1745, allocations: 83.84 kB / 341.6 MB, free: 5.719 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,booleanPulse.pulseStart,switch2.off,switch2.quenched,switch2.tSwitch) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.1747, allocations: 107.4 kB / 341.7 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.1753, allocations: 286.5 kB / 342 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1753, allocations: 0 / 342 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.1756, allocations: 190.6 kB / 342.2 MB, free: 5.113 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1759, allocations: 48.67 kB / 342.2 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1779, allocations: 0.7807 MB / 343 MB, free: 4.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.1784, allocations: 0.7638 MB / 343.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.1785, allocations: 23.44 kB / 343.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1785, allocations: 0 / 343.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of Templates: time 0.007308/0.1858, allocations: 4.158 MB / 348 MB, free: 15.28 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc.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.Analog.Examples.SwitchWithArcCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArcCalcHelperMain.o] Error 1