Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07876/0.07912, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004596/0.08377, allocations: 2.654 MB / 275.3 MB, free: 8.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.08605, allocations: 1.021 MB / 276.3 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.08623, allocations: 8 kB / 276.3 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.08664, allocations: 107.4 kB / 276.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.08686, allocations: 83.8 kB / 276.5 MB, free: 7.637 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.08866, allocations: 0.5879 MB / 277.1 MB, free: 7.047 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.0891, allocations: 223.6 kB / 277.3 MB, free: 6.828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.09093, allocations: 0.7535 MB / 278.1 MB, free: 6.047 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.09122, allocations: 123.6 kB / 278.2 MB, free: 5.926 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.09151, allocations: 151.4 kB / 278.3 MB, free: 5.777 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.09157, allocations: 16 kB / 278.4 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.09194, allocations: 119.8 kB / 278.5 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.09202, allocations: 47.84 kB / 278.5 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.09212, allocations: 89.52 kB / 278.6 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.09278, allocations: 419.1 kB / 279 MB, free: 5.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0928, allocations: 4 kB / 279 MB, free: 5.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.09281, allocations: 0 / 279 MB, free: 5.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09282, allocations: 3.938 kB / 279 MB, free: 5.086 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.002679/0.09551, allocations: 0.7568 MB / 279.8 MB, free: 4.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.09557, allocations: 11.97 kB / 279.8 MB, free: 4.266 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.09596, allocations: 55.59 kB / 279.8 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.09636, allocations: 270.4 kB / 280.1 MB, free: 3.906 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.09641, allocations: 29 kB / 280.1 MB, free: 3.879 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.09652, allocations: 44 kB / 280.2 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.09755, allocations: 354.5 kB / 280.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.09759, allocations: 0 / 280.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.09766, allocations: 20 kB / 280.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.09768, allocations: 8 kB / 280.6 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/0.09865, allocations: 299.9 kB / 280.8 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.1015, allocations: 1.337 MB / 282.2 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.1022, allocations: 178.6 kB / 282.4 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1022, allocations: 0 / 282.4 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1023, allocations: 42.52 kB / 282.4 MB, free: 1.508 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.1023, allocations: 0 / 282.4 MB, free: 1.508 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001978/0.1043, allocations: 467.4 kB / 282.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1043, allocations: 55.36 kB / 282.9 MB, free: 0.957 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1046, allocations: 172 kB / 283.1 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1046, allocations: 25.7 kB / 283.1 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1048, allocations: 211.6 kB / 283.3 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.1049, allocations: 55.2 kB / 283.4 MB, free: 488 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.1049, allocations: 8 kB / 283.4 MB, free: 480 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.105, allocations: 322.8 kB / 283.7 MB, free: 148 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1053, allocations: 71.97 kB / 283.8 MB, free: 76 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1057, allocations: 130.8 kB / 283.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.1061, allocations: 98.67 kB / 284 MB, free: 15.83 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1061, allocations: 0 / 284 MB, free: 15.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001058/0.1071, allocations: 318.2 kB / 284.3 MB, free: 15.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1072, allocations: 4 kB / 284.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1072, allocations: 4 kB / 284.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.1077, allocations: 92.77 kB / 284.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.108, allocations: 43.91 kB / 284.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.1105, allocations: 1.652 MB / 286.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.1108, allocations: 23.88 kB / 286.1 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.1108, allocations: 15.95 kB / 286.1 MB, free: 13.54 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.0002186/0.1111, allocations: 149.8 kB / 286.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.1111, allocations: 19.8 kB / 286.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/0.1121, allocations: 268.1 kB / 286.5 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1121, allocations: 3.984 kB / 286.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1121, allocations: 0 / 286.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.1122, allocations: 96.8 kB / 286.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.1123, allocations: 15.92 kB / 286.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.1125, allocations: 15.98 kB / 286.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.1126, allocations: 27.86 kB / 286.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00121/0.1138, allocations: 341.7 kB / 287 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001064/0.1149, allocations: 443.1 kB / 287.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002674/0.1152, allocations: 72.03 kB / 287.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1154, allocations: 132.2 kB / 287.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of Backend: time 9.42e-07/0.1154, allocations: 0 / 287.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1167, allocations: 420.9 kB / 288.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of SimCode: time 0.001651/0.1183, allocations: 1.185 MB / 289.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of Templates: time 0.0107/0.1291, allocations: 3.327 MB / 292.6 MB, free: 6.938 MB / 250.7 MB