Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 2.19/2.19, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005894/0.0005898, allocations: 8 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 44.51 MB / 309 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5611, allocations: 78.54 MB / 387.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5614, allocations: 85.14 kB / 387.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06343/0.6249, allocations: 17.71 MB / 405.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6249, allocations: 0 / 405.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.625, allocations: 11.5 kB / 405.4 MB, free: 11.84 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002722/0.6277, allocations: 0.8522 MB / 406.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6278, allocations: 11.62 kB / 406.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.6323, allocations: 454.3 kB / 406.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.6331, allocations: 358.4 kB / 407.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.6332, allocations: 47.97 kB / 407.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.6334, allocations: 68.59 kB / 407.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.6355, allocations: 0.8189 MB / 408 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.6356, allocations: 0 / 408 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6357, allocations: 29.34 kB / 408 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.6358, allocations: 15.5 kB / 408 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.6383, allocations: 0.882 MB / 408.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.6443, allocations: 2.786 MB / 411.7 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.6471, allocations: 2.029 MB / 413.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.6473, allocations: 88.78 kB / 413.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6473, allocations: 50.41 kB / 413.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.286e-06/0.6473, allocations: 4 kB / 413.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.003234/0.6506, allocations: 1.078 MB / 414.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.6507, allocations: 85.3 kB / 415 MB, free: 6.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.6511, allocations: 295.4 kB / 415.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.6512, allocations: 32.77 kB / 415.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.6514, allocations: 287 kB / 415.6 MB, free: 5.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6515, allocations: 179.3 kB / 415.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.6516, allocations: 15.16 kB / 415.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.6517, allocations: 352.6 kB / 416.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007883/0.6525, allocations: 225.1 kB / 416.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008343/0.6533, allocations: 441 kB / 416.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.6542, allocations: 280 kB / 417.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.6542, allocations: 3.875 kB / 417.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002241/0.6565, allocations: 0.7691 MB / 417.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.6566, allocations: 271.3 kB / 418.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6567, allocations: 7.75 kB / 418.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.657, allocations: 59.23 kB / 418.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.658, allocations: 155.7 kB / 418.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.6597, allocations: 1.603 MB / 419.9 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.6606, allocations: 81.7 kB / 420 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.6607, allocations: 34.84 kB / 420.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6607, allocations: 7.844 kB / 420.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/0.6626, allocations: 0.6818 MB / 420.7 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6626, allocations: 7.781 kB / 420.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.6629, allocations: 58.83 kB / 420.8 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.6639, allocations: 136.5 kB / 420.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.6654, allocations: 1.532 MB / 422.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.6661, allocations: 68.25 kB / 422.5 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.6662, allocations: 33.58 kB / 422.6 MB, free: 1.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004159/0.6666, allocations: 269.4 kB / 422.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.6667, allocations: 39 kB / 422.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.6689, allocations: 0.685 MB / 423.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.6689, allocations: 3.844 kB / 423.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6689, allocations: 3.875 kB / 423.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.669, allocations: 3.984 kB / 423.6 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.6722, allocations: 1.384 MB / 425 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6722, allocations: 0 / 425 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.673, allocations: 107.1 kB / 425.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.6733, allocations: 50.08 kB / 425.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.6734, allocations: 13.89 kB / 425.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.6753, allocations: 1.603 MB / 426.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6753, allocations: 3.938 kB / 426.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.6782, allocations: 1.026 MB / 427.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.6786, allocations: 157.8 kB / 427.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.6787, allocations: 14.7 kB / 427.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.6793, allocations: 29.2 kB / 428 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6795, allocations: 42.16 kB / 428 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.6795, allocations: 15.17 kB / 428 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000332/0.6799, allocations: 206.9 kB / 428.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6799, allocations: 0 / 428.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001504/0.6814, allocations: 291.9 kB / 428.5 MB, free: 14.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003715/0.6818, allocations: 149.7 kB / 428.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.6853, allocations: 1.205 MB / 429.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6853, allocations: 0 / 429.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6864, allocations: 435.3 kB / 430.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.687, allocations: 38.77 kB / 430.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.6927, allocations: 1.776 MB / 432.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.6933, allocations: 0.853 MB / 432.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00229/0.6956, allocations: 1.089 MB / 434 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6959, allocations: 50.12 kB / 434.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of SimCode: time 3.416e-06/0.6959, allocations: 0 / 434.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Templates: time 0.0175/0.7134, allocations: 5.638 MB / 439.7 MB, free: 8.855 MB / 330.7 MB