Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2026, allocations: 46.64 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03024/0.2329, allocations: 29.57 MB / 354.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2493, allocations: 7.415 MB / 362.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005892/0.2553, allocations: 223.3 kB / 362.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0276/0.2829, allocations: 13.17 MB / 375.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.2949, allocations: 3.049 MB / 378.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00676/0.3017, allocations: 1.894 MB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02457/0.3263, allocations: 18.78 MB / 399.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06825/0.3946, allocations: 44.79 MB / 444.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01368/0.4083, allocations: 10.26 MB / 454.5 MB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3169/0.7252, allocations: 11.55 MB / 466 MB, free: 48.14 MB / 382.2 MB Notification: Performance of NFPackage.collectConstants: time 0.008522/0.7338, allocations: 2.974 MB / 469 MB, free: 48.14 MB / 382.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.7448, allocations: 3.228 MB / 472.2 MB, free: 48.14 MB / 382.2 MB Notification: Performance of NFScalarize.scalarize: time 0.01142/0.7562, allocations: 5.764 MB / 478 MB, free: 48.14 MB / 382.2 MB Notification: Performance of NFVerifyModel.verify: time 0.02137/0.7777, allocations: 11.21 MB / 489.2 MB, free: 41.04 MB / 382.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0307/0.8084, allocations: 39.44 MB / 0.5162 GB, free: 14.11 MB / 382.2 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.8084, allocations: 0.8125 kB / 0.5162 GB, free: 14.11 MB / 382.2 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8085, allocations: 0 / 0.5162 GB, free: 14.11 MB / 382.2 MB Notification: Performance of Transformations before backend: time 0.001105/0.8096, allocations: 0.8125 kB / 0.5162 GB, free: 14.11 MB / 382.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06201/0.8716, allocations: 22.87 MB / 0.5386 GB, free: 7.324 MB / 398.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8717, allocations: 11.89 kB / 0.5386 GB, free: 7.312 MB / 398.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06714/0.9388, allocations: 12.29 MB / 0.5506 GB, free: 11.13 MB / 414.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/0.9607, allocations: 10.54 MB / 0.5609 GB, free: 1.047 MB / 414.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/0.9622, allocations: 1.405 MB / 0.5622 GB, free: 15.66 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009421/0.9716, allocations: 1.833 MB / 0.564 GB, free: 13.84 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07766/1.049, allocations: 30.84 MB / 0.5941 GB, free: 14.97 MB / 462.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007128/1.05, allocations: 17.72 kB / 0.5942 GB, free: 14.96 MB / 462.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005461/1.056, allocations: 0.763 MB / 0.5949 GB, free: 14.21 MB / 462.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009369/1.056, allocations: 0.9646 MB / 0.5959 GB, free: 13.24 MB / 462.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3659/1.422, allocations: 27.86 MB / 0.6231 GB, free: 135.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1364/1.559, allocations: 94.35 MB / 0.7152 GB, free: 57.5 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03035/1.589, allocations: 53.34 MB / 0.7673 GB, free: 15.26 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/1.599, allocations: 5.834 MB / 0.773 GB, free: 9.414 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02882/1.628, allocations: 16.63 MB / 0.7892 GB, free: 8.461 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.628, allocations: 81.84 kB / 0.7893 GB, free: 8.371 MB / 494.3 MB Notification: Performance of pre-optimization done (n=427): time 5.52e-06/1.628, allocations: 0 / 0.7893 GB, free: 8.371 MB / 494.3 MB Notification: Performance of matching and sorting (n=427): time 0.2254/1.854, allocations: 13.21 MB / 0.8022 GB, free: 157.1 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/1.854, allocations: 121 kB / 0.8023 GB, free: 157 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.864, allocations: 7.483 MB / 0.8096 GB, free: 154.7 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0007062/1.865, allocations: 97.3 kB / 0.8097 GB, free: 154.6 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00468/1.87, allocations: 8.534 MB / 0.8181 GB, free: 148.5 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002141/1.872, allocations: 1.553 MB / 0.8196 GB, free: 147.4 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003471/1.876, allocations: 2.268 MB / 0.8218 GB, free: 146.3 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/1.876, allocations: 314.4 kB / 0.8221 GB, free: 146 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006316/1.882, allocations: 4.703 MB / 0.8267 GB, free: 144.3 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009845/1.892, allocations: 10.4 MB / 0.8368 GB, free: 135.1 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/1.907, allocations: 15.99 MB / 0.8525 GB, free: 122.7 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002847/1.907, allocations: 54.84 kB / 0.8525 GB, free: 122.7 MB / 494.3 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02467/1.932, allocations: 16 MB / 0.8681 GB, free: 116.3 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.932, allocations: 88.62 kB / 0.8682 GB, free: 116.3 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/1.933, allocations: 197.5 kB / 0.8684 GB, free: 116.2 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/1.937, allocations: 1.596 MB / 0.87 GB, free: 114.9 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00837/1.945, allocations: 2.503 MB / 0.8724 GB, free: 112.7 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.958, allocations: 11.54 MB / 0.8837 GB, free: 102.5 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/1.966, allocations: 1.553 MB / 0.8852 GB, free: 101.1 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.968, allocations: 0.6009 MB / 0.8858 GB, free: 100.5 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01133/1.98, allocations: 7.395 MB / 0.893 GB, free: 94.29 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.981, allocations: 0.6248 MB / 0.8936 GB, free: 93.66 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.992, allocations: 8.098 MB / 0.9015 GB, free: 86.12 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007462/2, allocations: 6.476 MB / 0.9079 GB, free: 79.62 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/2, allocations: 16 kB / 0.9079 GB, free: 79.61 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/2, allocations: 19.92 kB / 0.9079 GB, free: 79.59 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03616/2.036, allocations: 20.8 MB / 0.9282 GB, free: 58.79 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/2.036, allocations: 0 / 0.9282 GB, free: 58.79 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/2.039, allocations: 0.7724 MB / 0.929 GB, free: 58.02 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/2.043, allocations: 1.344 MB / 0.9303 GB, free: 56.67 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004625/2.043, allocations: 91.97 kB / 0.9304 GB, free: 56.58 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/2.055, allocations: 11.15 MB / 0.9412 GB, free: 45.31 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.055, allocations: 0 / 0.9412 GB, free: 45.31 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/2.069, allocations: 11.7 MB / 0.9527 GB, free: 33.55 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/2.072, allocations: 1.312 MB / 0.9539 GB, free: 32.21 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/2.073, allocations: 79.94 kB / 0.954 GB, free: 32.13 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/2.077, allocations: 299.7 kB / 0.9543 GB, free: 31.84 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006344/2.077, allocations: 295.8 kB / 0.9546 GB, free: 31.55 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/2.077, allocations: 128 kB / 0.9547 GB, free: 31.42 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.008622/2.086, allocations: 4.922 MB / 0.9595 GB, free: 26.52 MB / 494.3 MB Notification: Performance of sort global known variables: time 7.11e-07/2.086, allocations: 0 / 0.9595 GB, free: 26.52 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01318/2.099, allocations: 4.188 MB / 0.9636 GB, free: 22.31 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/2.101, allocations: 268.7 kB / 0.9639 GB, free: 22.05 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.2244/2.325, allocations: 19.98 MB / 0.9834 GB, free: 153.5 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/2.325, allocations: 5.406 kB / 0.9834 GB, free: 153.5 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.006836/2.332, allocations: 3.941 MB / 0.9872 GB, free: 151.9 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009464/2.341, allocations: 1.556 MB / 0.9888 GB, free: 151.3 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06393/2.405, allocations: 30.04 MB / 1.018 GB, free: 138.6 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02264/2.428, allocations: 11.6 MB / 1.029 GB, free: 130.3 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01274/2.441, allocations: 3.979 MB / 1.033 GB, free: 126.7 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/2.443, allocations: 0.4955 MB / 1.034 GB, free: 126.2 MB / 494.3 MB Notification: Performance of SimCode: time 1.403e-06/2.443, allocations: 0 / 1.034 GB, free: 126.2 MB / 494.3 MB Notification: Performance of Templates: time 0.1533/2.597, allocations: 98.44 MB / 1.13 GB, free: 27.77 MB / 494.3 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)