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.Transformer.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.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003604, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4391, allocations: 81.16 MB / 389.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4394, allocations: 78.42 kB / 389.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1277/0.5671, allocations: 28.84 MB / 418.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.884e-06/0.5672, allocations: 0 / 418.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.683e-05/0.5673, allocations: 19.56 kB / 418.5 MB, free: 10.8 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005063/0.5723, allocations: 1.077 MB / 419.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5724, allocations: 7.75 kB / 419.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006681/0.5791, allocations: 0.7181 MB / 420.4 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.5798, allocations: 446.6 kB / 420.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.5799, allocations: 82.52 kB / 420.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.5801, allocations: 106.9 kB / 421 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.5824, allocations: 1.11 MB / 422.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.5825, allocations: 7.781 kB / 422.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5826, allocations: 45.53 kB / 422.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.5827, allocations: 31.22 kB / 422.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.5852, allocations: 1.125 MB / 423.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.5919, allocations: 4.066 MB / 427.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.5946, allocations: 3.755 MB / 431.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.5947, allocations: 96.52 kB / 431.2 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5948, allocations: 49.8 kB / 431.3 MB, free: 2.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.961e-06/0.5948, allocations: 0 / 431.3 MB, free: 2.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001832/0.5966, allocations: 0.7555 MB / 432 MB, free: 2.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5967, allocations: 111 kB / 432.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.5971, allocations: 289.8 kB / 432.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.5971, allocations: 36.77 kB / 432.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.5973, allocations: 0.4928 MB / 432.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5975, allocations: 243.8 kB / 433.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.5976, allocations: 25.25 kB / 433.2 MB, free: 1.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.5977, allocations: 345.3 kB / 433.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.5983, allocations: 252.8 kB / 433.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.599, allocations: 0.5532 MB / 434.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.5997, allocations: 327.8 kB / 434.7 MB, free: 1.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.967e-06/0.5997, allocations: 7.875 kB / 434.7 MB, free: 1.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001874/0.6016, allocations: 0.8862 MB / 435.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6017, allocations: 7.75 kB / 435.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6017, allocations: 11.66 kB / 435.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/0.6017, allocations: 22.33 kB / 435.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.6027, allocations: 234.3 kB / 435.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/0.6028, allocations: 27 kB / 435.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.6035, allocations: 109.6 kB / 435.9 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.6035, allocations: 45.25 kB / 436 MB, free: 0.6836 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004362/0.604, allocations: 234.1 kB / 436.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6042, allocations: 50.39 kB / 436.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.6058, allocations: 0.6925 MB / 437 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6058, allocations: 11.7 kB / 437 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-06/0.6058, allocations: 0 / 437 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6058, allocations: 3.984 kB / 437 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.609, allocations: 1.587 MB / 438.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.447e-06/0.609, allocations: 0 / 438.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.6098, allocations: 148.9 kB / 438.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-06/0.6098, allocations: 3.875 kB / 438.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.6099, allocations: 19.95 kB / 438.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.118e-06/0.6099, allocations: 7.562 kB / 438.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.6099, allocations: 7.891 kB / 438.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.6121, allocations: 1.18 MB / 439.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.6123, allocations: 124 kB / 440 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.6124, allocations: 19.83 kB / 440.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.6129, allocations: 31.64 kB / 440.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.613, allocations: 47.94 kB / 440.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.6131, allocations: 19.64 kB / 440.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002959/0.6134, allocations: 201.2 kB / 440.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.6134, allocations: 0 / 440.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00111/0.6145, allocations: 260.7 kB / 440.6 MB, free: 14.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003016/0.6148, allocations: 161.6 kB / 440.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.6163, allocations: 0.6973 MB / 441.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.835e-06/0.6164, allocations: 0 / 441.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.617, allocations: 318.3 kB / 441.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.6175, allocations: 32.31 kB / 441.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/0.6234, allocations: 2.296 MB / 444.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/0.6242, allocations: 0.94 MB / 445.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.6245, allocations: 63.42 kB / 445.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.017e-06/0.6245, allocations: 0 / 445.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01584/0.6404, allocations: 7.746 MB / 452.9 MB, free: 2.973 MB / 330.7 MB