Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.0804, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005102/0.08555, allocations: 3.069 MB / 311.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.08857, allocations: 1.291 MB / 312.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.08891, allocations: 12 kB / 312.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.08935, allocations: 115.3 kB / 312.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.09091, allocations: 490.5 kB / 313.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.09198, allocations: 347 kB / 313.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.09267, allocations: 335.3 kB / 314 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.09431, allocations: 0.6252 MB / 314.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.0947, allocations: 175.3 kB / 314.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.09509, allocations: 239 kB / 315 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.09516, allocations: 24 kB / 315 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.09568, allocations: 147.8 kB / 315.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.09579, allocations: 83.66 kB / 315.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.09593, allocations: 109.5 kB / 315.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008165/0.09676, allocations: 0.5106 MB / 315.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.917e-06/0.09678, allocations: 0 / 315.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.09679, allocations: 0 / 315.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.99e-06/0.09681, allocations: 0 / 315.9 MB, free: 9.434 MB / 266.7 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.002621/0.09944, allocations: 0.8388 MB / 316.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.0995, allocations: 8.031 kB / 316.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/0.1051, allocations: 0.5925 MB / 317.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.1058, allocations: 314.4 kB / 317.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.1058, allocations: 41.31 kB / 317.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.106, allocations: 52 kB / 317.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1074, allocations: 0.5609 MB / 318.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1075, allocations: 3.906 kB / 318.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.1075, allocations: 28 kB / 318.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1076, allocations: 12 kB / 318.3 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.1092, allocations: 0.6415 MB / 319 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/0.1136, allocations: 2.057 MB / 321 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.1171, allocations: 2.995 MB / 324 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.1173, allocations: 93.53 kB / 324.1 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1174, allocations: 31 kB / 324.1 MB, free: 364 kB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.513e-06/0.1174, allocations: 4 kB / 324.1 MB, free: 360 kB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.002598/0.12, allocations: 0.8055 MB / 325 MB, free: 15.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1201, allocations: 59.84 kB / 325 MB, free: 15.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.1204, allocations: 203.1 kB / 325.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.1204, allocations: 33.7 kB / 325.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1207, allocations: 302.6 kB / 325.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.1209, allocations: 173.5 kB / 325.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1209, allocations: 12 kB / 325.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1211, allocations: 330.8 kB / 326 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.1216, allocations: 161 kB / 326.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.1221, allocations: 281.9 kB / 326.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.1226, allocations: 192.8 kB / 326.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1227, allocations: 4 kB / 326.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001511/0.1242, allocations: 0.5865 MB / 327.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1242, allocations: 4 kB / 327.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1243, allocations: 7.984 kB / 327.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.1247, allocations: 96.75 kB / 327.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.1253, allocations: 107.9 kB / 327.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.1281, allocations: 1.878 MB / 329.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.1285, allocations: 59.48 kB / 329.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.1286, allocations: 20 kB / 329.4 MB, free: 10.82 MB / 282.7 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.000309/0.1289, allocations: 177.7 kB / 329.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/0.129, allocations: 27.67 kB / 329.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1306, allocations: 0.5668 MB / 330.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1306, allocations: 4 kB / 330.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1306, allocations: 4 kB / 330.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.1306, allocations: 3.984 kB / 330.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.1331, allocations: 1.149 MB / 331.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.797e-06/0.1331, allocations: 0 / 331.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.1336, allocations: 83.89 kB / 331.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.134, allocations: 80.81 kB / 331.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.134, allocations: 12 kB / 331.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.1368, allocations: 1.878 MB / 333.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.556e-06/0.1368, allocations: 0 / 333.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.1388, allocations: 0.8039 MB / 334.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.139, allocations: 112.6 kB / 334.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.139, allocations: 12 kB / 334.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.1394, allocations: 28.33 kB / 334.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1395, allocations: 36.34 kB / 334.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1395, allocations: 12 kB / 334.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.1397, allocations: 147.2 kB / 334.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.1398, allocations: 0 / 334.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008357/0.1406, allocations: 155.5 kB / 334.7 MB, free: 5.289 MB / 282.7 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.0002811/0.1409, allocations: 147 kB / 334.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.1424, allocations: 0.6048 MB / 335.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1424, allocations: 0.8125 kB / 335.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008188/0.1433, allocations: 385.1 kB / 335.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1436, allocations: 20.19 kB / 335.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1457, allocations: 1.091 MB / 336.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.1463, allocations: 0.8214 MB / 337.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1466, allocations: 43.42 kB / 337.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of SimCode: time 2.236e-06/0.1466, allocations: 0 / 337.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Templates: time 0.01204/0.1586, allocations: 6.349 MB / 344.1 MB, free: 11.74 MB / 298.7 MB