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.Transformer.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.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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 2.054/2.054, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 12 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5551, allocations: 81.15 MB / 390.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5554, allocations: 86.95 kB / 390.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0959/0.6513, allocations: 28.85 MB / 419.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6514, allocations: 0 / 419.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.6514, allocations: 23.62 kB / 419.2 MB, free: 6.676 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.00354/0.655, allocations: 1.078 MB / 420.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.655, allocations: 11.62 kB / 420.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007168/0.6622, allocations: 0.7143 MB / 421 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.6633, allocations: 440 kB / 421.4 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.6634, allocations: 82.48 kB / 421.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.6636, allocations: 110 kB / 421.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.6667, allocations: 1.108 MB / 422.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-05/0.6668, allocations: 3.906 kB / 422.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.667, allocations: 43.66 kB / 422.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.667, allocations: 31.19 kB / 422.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.6701, allocations: 1.136 MB / 423.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008523/0.6787, allocations: 4.063 MB / 428 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.6831, allocations: 3.755 MB / 431.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.6834, allocations: 97.2 kB / 431.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.6835, allocations: 50.5 kB / 431.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.547e-06/0.6835, allocations: 0 / 431.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002204/0.6857, allocations: 0.7574 MB / 432.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.6858, allocations: 117.7 kB / 432.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.6863, allocations: 315.5 kB / 433 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.6864, allocations: 40.77 kB / 433.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6868, allocations: 440.6 kB / 433.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.6871, allocations: 242.8 kB / 433.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.6872, allocations: 20.25 kB / 433.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6874, allocations: 348.7 kB / 434.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007556/0.6882, allocations: 245.3 kB / 434.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/0.6892, allocations: 0.5569 MB / 434.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.6901, allocations: 330.4 kB / 435.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.6902, allocations: 4 kB / 435.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002265/0.6924, allocations: 0.8952 MB / 436.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.6925, allocations: 11.73 kB / 436.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.6925, allocations: 15.52 kB / 436.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.6926, allocations: 15.5 kB / 436.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.6941, allocations: 242.7 kB / 436.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.6941, allocations: 23.33 kB / 436.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.695, allocations: 100.3 kB / 436.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.6951, allocations: 54.11 kB / 436.6 MB, free: 12.59 MB / 330.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.0005363/0.6956, allocations: 236.5 kB / 436.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6958, allocations: 42.91 kB / 436.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.6978, allocations: 0.6884 MB / 437.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.6978, allocations: 11.8 kB / 437.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.6978, allocations: 0 / 437.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.6979, allocations: 3.984 kB / 437.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.7017, allocations: 1.585 MB / 439.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7018, allocations: 3.875 kB / 439.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.7029, allocations: 144.5 kB / 439.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7029, allocations: 3.844 kB / 439.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/0.703, allocations: 19.89 kB / 439.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.703, allocations: 3.844 kB / 439.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.703, allocations: 3.953 kB / 439.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.7056, allocations: 1.158 MB / 440.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.7058, allocations: 135.4 kB / 440.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.706, allocations: 11.78 kB / 440.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.7066, allocations: 31.2 kB / 440.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7068, allocations: 51.45 kB / 440.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.7069, allocations: 31.2 kB / 440.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003252/0.7072, allocations: 204.2 kB / 440.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7072, allocations: 0 / 440.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001206/0.7084, allocations: 256.1 kB / 441.2 MB, free: 9.762 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.0003653/0.7088, allocations: 165.5 kB / 441.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.7109, allocations: 0.6877 MB / 442 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.7109, allocations: 4.312 kB / 442 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.7118, allocations: 319.6 kB / 442.4 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.7124, allocations: 36.64 kB / 442.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.7194, allocations: 2.272 MB / 444.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/0.7204, allocations: 0.94 MB / 445.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00175/0.7222, allocations: 92.89 kB / 445.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.7225, allocations: 55.42 kB / 445.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7225, allocations: 0 / 445.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01751/0.74, allocations: 4.581 MB / 450.3 MB, free: 0.6758 MB / 330.7 MB