Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 8 kB / 233.2 MB, free: 3.043 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06807/0.06845, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004111/0.07261, allocations: 2.659 MB / 274.6 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.0747, allocations: 1.021 MB / 275.6 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.07489, allocations: 8 kB / 275.6 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.07528, allocations: 107.5 kB / 275.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.07549, allocations: 79.69 kB / 275.8 MB, free: 8.293 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.07718, allocations: 0.5926 MB / 276.4 MB, free: 7.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.07756, allocations: 219.5 kB / 276.6 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.07931, allocations: 0.7535 MB / 277.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.07959, allocations: 131.5 kB / 277.5 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.07986, allocations: 151.4 kB / 277.6 MB, free: 6.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.07992, allocations: 16 kB / 277.7 MB, free: 6.414 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.08025, allocations: 115.9 kB / 277.8 MB, free: 6.301 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.08034, allocations: 55.77 kB / 277.8 MB, free: 6.246 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.08044, allocations: 81.58 kB / 277.9 MB, free: 6.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.08106, allocations: 419.2 kB / 278.3 MB, free: 5.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.578e-06/0.08108, allocations: 0 / 278.3 MB, free: 5.75 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.08109, allocations: 3.938 kB / 278.3 MB, free: 5.746 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.08112, allocations: 3.938 kB / 278.3 MB, free: 5.742 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00234/0.08347, allocations: 0.7607 MB / 279.1 MB, free: 4.93 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.08352, allocations: 8.031 kB / 279.1 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.08389, allocations: 55.61 kB / 279.1 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.08431, allocations: 274.5 kB / 279.4 MB, free: 4.559 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.08436, allocations: 29 kB / 279.4 MB, free: 4.531 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.08445, allocations: 36 kB / 279.5 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.08536, allocations: 366.5 kB / 279.8 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.0854, allocations: 0 / 279.8 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.08546, allocations: 16 kB / 279.8 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.08549, allocations: 12 kB / 279.9 MB, free: 4.105 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.08633, allocations: 303.8 kB / 280.2 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.08899, allocations: 1.333 MB / 281.5 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.0896, allocations: 178.6 kB / 281.7 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.08965, allocations: 0 / 281.7 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.0897, allocations: 42.52 kB / 281.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 2.269e-06/0.08972, allocations: 0 / 281.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001555/0.09128, allocations: 451.3 kB / 282.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.09135, allocations: 63.3 kB / 282.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.09159, allocations: 176 kB / 282.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.09164, allocations: 29.7 kB / 282.4 MB, free: 1.391 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.09185, allocations: 278 kB / 282.7 MB, free: 1.117 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.09193, allocations: 51.27 kB / 282.7 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.09195, allocations: 0 / 282.7 MB, free: 1.066 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.09213, allocations: 322.8 kB / 283 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.09239, allocations: 71.97 kB / 283.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.09269, allocations: 134.8 kB / 283.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.09298, allocations: 91.97 kB / 283.3 MB, free: 436 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.247e-06/0.093, allocations: 4 kB / 283.3 MB, free: 432 kB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008947/0.09391, allocations: 320.6 kB / 283.7 MB, free: 104 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.09394, allocations: 4 kB / 283.7 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.091e-06/0.09396, allocations: 4 kB / 283.7 MB, free: 96 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.09438, allocations: 76.97 kB / 283.7 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.09466, allocations: 43.91 kB / 283.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.09706, allocations: 1.659 MB / 285.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.0973, allocations: 35.69 kB / 285.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.09735, allocations: 12 kB / 285.5 MB, free: 14.14 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * 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.0002174/0.09758, allocations: 145.9 kB / 285.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.09766, allocations: 7.906 kB / 285.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008088/0.09848, allocations: 284.5 kB / 285.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-06/0.0985, allocations: 3.938 kB / 285.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.761e-06/0.09852, allocations: 0 / 285.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-06/0.09854, allocations: 3.938 kB / 285.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.09909, allocations: 357.4 kB / 286.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-06/0.09911, allocations: 0 / 286.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.0993, allocations: 27.97 kB / 286.3 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.09967, allocations: 77.28 kB / 286.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.0997, allocations: 4 kB / 286.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.102, allocations: 1.667 MB / 288 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.157e-06/0.102, allocations: 0 / 288 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1031, allocations: 452 kB / 288.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.1032, allocations: 104.8 kB / 288.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1033, allocations: 0 / 288.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1035, allocations: 15.98 kB / 288.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1036, allocations: 11.98 kB / 288.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1036, allocations: 8 kB / 288.6 MB, free: 10.76 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.1038, allocations: 124.2 kB / 288.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.1038, allocations: 64 / 288.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005547/0.1043, allocations: 95.69 kB / 288.8 MB, free: 10.54 MB / 250.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 (9): * Single equations (assignments): 8 * 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.0001909/0.1045, allocations: 111.2 kB / 288.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.1055, allocations: 362.6 kB / 289.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.39e-06/0.1055, allocations: 4.125 kB / 289.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.106, allocations: 242.5 kB / 289.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1063, allocations: 19.98 kB / 289.6 MB, free: 9.781 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1078, allocations: 0.746 MB / 290.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.1083, allocations: 0.7716 MB / 291.1 MB, free: 8.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.1084, allocations: 15.44 kB / 291.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1084, allocations: 3.938 kB / 291.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of Templates: time 0.007649/0.1161, allocations: 4.087 MB / 295.2 MB, free: 4.094 MB / 250.7 MB