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.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.07983, allocations: 44.5 MB / 308.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004728/0.08461, allocations: 3.077 MB / 311.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.08767, allocations: 1.283 MB / 312.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.08798, allocations: 12 kB / 312.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.0884, allocations: 119.3 kB / 312.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.08998, allocations: 486.5 kB / 313.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.09106, allocations: 355 kB / 313.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.0917, allocations: 335.3 kB / 314 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.09351, allocations: 0.688 MB / 314.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.09389, allocations: 179.3 kB / 314.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.09429, allocations: 243 kB / 315.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.09437, allocations: 24 kB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.0949, allocations: 147.8 kB / 315.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.09501, allocations: 83.66 kB / 315.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.09515, allocations: 101.5 kB / 315.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.09599, allocations: 0.5184 MB / 316 MB, free: 9.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.279e-06/0.09601, allocations: 0 / 316 MB, free: 9.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.546e-06/0.09602, allocations: 0 / 316 MB, free: 9.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.09605, allocations: 4 kB / 316 MB, free: 9.359 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.002536/0.09859, allocations: 0.8349 MB / 316.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.09865, allocations: 8.031 kB / 316.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005563/0.1042, allocations: 0.6003 MB / 317.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.1049, allocations: 310.4 kB / 317.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.105, allocations: 41.31 kB / 317.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1051, allocations: 56 kB / 317.8 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.1065, allocations: 0.5648 MB / 318.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.1066, allocations: 3.906 kB / 318.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.1067, allocations: 32 kB / 318.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1067, allocations: 12 kB / 318.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.1084, allocations: 0.6493 MB / 319.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.1128, allocations: 2.063 MB / 321.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.1162, allocations: 2.988 MB / 324.1 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.1164, allocations: 101.5 kB / 324.2 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1165, allocations: 38.94 kB / 324.3 MB, free: 264 kB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.727e-06/0.1165, allocations: 0 / 324.3 MB, free: 264 kB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.002411/0.1189, allocations: 0.7782 MB / 325 MB, free: 15.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.119, allocations: 55.84 kB / 325.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1193, allocations: 206.5 kB / 325.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.1194, allocations: 33.7 kB / 325.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1196, allocations: 306.5 kB / 325.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.1198, allocations: 169.5 kB / 325.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1199, allocations: 16 kB / 325.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1201, allocations: 330.8 kB / 326.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.1205, allocations: 169 kB / 326.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.1211, allocations: 286 kB / 326.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.1217, allocations: 204.7 kB / 326.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.414e-06/0.1217, allocations: 0 / 326.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001545/0.1232, allocations: 0.5983 MB / 327.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1233, allocations: 4 kB / 327.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1233, allocations: 8 kB / 327.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.1238, allocations: 84.78 kB / 327.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.1244, allocations: 119.8 kB / 327.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.1268, allocations: 1.656 MB / 329.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.1273, allocations: 63.42 kB / 329.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.1273, allocations: 20 kB / 329.3 MB, free: 10.94 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 (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003146/0.1277, allocations: 169.7 kB / 329.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.1278, allocations: 23.78 kB / 329.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.1294, allocations: 0.5863 MB / 330.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1294, allocations: 4 kB / 330.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.494e-06/0.1294, allocations: 0 / 330.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1294, allocations: 3.984 kB / 330.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.132, allocations: 1.2 MB / 331.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.736e-06/0.132, allocations: 0 / 331.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.1325, allocations: 83.89 kB / 331.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.1329, allocations: 76.8 kB / 331.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.133, allocations: 16 kB / 331.5 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.1353, allocations: 1.66 MB / 333.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.019e-06/0.1354, allocations: 80 / 333.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.1374, allocations: 0.8428 MB / 334 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1376, allocations: 112.6 kB / 334.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.1377, allocations: 12 kB / 334.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.138, allocations: 35.97 kB / 334.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1381, allocations: 32.39 kB / 334.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.1382, allocations: 12 kB / 334.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1384, allocations: 143.2 kB / 334.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.1384, allocations: 0 / 334.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007361/0.1392, allocations: 151.5 kB / 334.5 MB, free: 5.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002795/0.1395, allocations: 131.2 kB / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.141, allocations: 0.6127 MB / 335.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.962e-06/0.141, allocations: 0 / 335.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.1419, allocations: 397.8 kB / 335.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1423, allocations: 27.33 kB / 335.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1444, allocations: 1.091 MB / 336.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.145, allocations: 0.8217 MB / 337.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.1452, allocations: 39.42 kB / 337.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of SimCode: time 1.676e-06/0.1452, allocations: 0 / 337.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of Templates: time 0.01254/0.1578, allocations: 6.446 MB / 344 MB, free: 11.89 MB / 298.7 MB