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.001289/0.001289, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.000514/0.0005142, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 47.59 MB / 326.4 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02323/0.3007, allocations: 23.68 MB / 350.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.3168, allocations: 7.107 MB / 357.2 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/0.3215, allocations: 207.3 kB / 357.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.3266, allocations: 1.535 MB / 359 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.3371, allocations: 2.505 MB / 361.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.3428, allocations: 1.384 MB / 362.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02925/0.372, allocations: 18.2 MB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06817/0.4403, allocations: 35.43 MB / 416.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.4507, allocations: 6.44 MB / 422.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.4632, allocations: 7.544 MB / 430.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004336/0.4676, allocations: 1.168 MB / 431.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007029/0.4746, allocations: 1.363 MB / 433 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005087/0.4798, allocations: 3.38 MB / 436.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007233/0.487, allocations: 3.716 MB / 440.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4563/0.9434, allocations: 33.69 MB / 473.8 MB, free: 41.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.9434, allocations: 2.906 kB / 473.8 MB, free: 41.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.9434, allocations: 0 / 473.8 MB, free: 41.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001419/0.9449, allocations: 0 / 473.8 MB, free: 41.48 MB / 382.1 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.06351/1.008, allocations: 18.98 MB / 492.8 MB, free: 32.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.008, allocations: 8.719 kB / 492.8 MB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06599/1.074, allocations: 12.34 MB / 0.4933 GB, free: 26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02914/1.104, allocations: 10.43 MB / 0.5035 GB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001778/1.105, allocations: 1.398 MB / 0.5048 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01066/1.116, allocations: 1.826 MB / 0.5066 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09297/1.209, allocations: 30.59 MB / 0.5365 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001018/1.21, allocations: 22.55 kB / 0.5365 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007995/1.218, allocations: 0.7594 MB / 0.5372 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001139/1.219, allocations: 0.9898 MB / 0.5382 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06546/1.285, allocations: 27.75 MB / 0.5653 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4099/1.695, allocations: 94.55 MB / 0.6577 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0329/1.728, allocations: 53.36 MB / 0.7098 GB, free: 68.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03472/1.763, allocations: 16.84 MB / 0.7262 GB, free: 64.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/1.763, allocations: 77.78 kB / 0.7263 GB, free: 64.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=445): time 7.464e-06/1.763, allocations: 0 / 0.7263 GB, free: 64.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=445): time 0.03733/1.8, allocations: 14.8 MB / 0.7407 GB, free: 56.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/1.8, allocations: 120 kB / 0.7408 GB, free: 56.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/1.815, allocations: 7.418 MB / 0.7481 GB, free: 52.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009205/1.816, allocations: 97.7 kB / 0.7482 GB, free: 51.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00538/1.822, allocations: 8.505 MB / 0.7565 GB, free: 43.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.824, allocations: 1.617 MB / 0.7581 GB, free: 41.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/1.825, allocations: 220 kB / 0.7583 GB, free: 41.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.001021/1.826, allocations: 0.7609 MB / 0.759 GB, free: 40.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007989/1.834, allocations: 4.757 MB / 0.7637 GB, free: 36.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.845, allocations: 10.39 MB / 0.7738 GB, free: 22.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.857, allocations: 7.334 MB / 0.781 GB, free: 15.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003304/1.857, allocations: 56 kB / 0.781 GB, free: 15.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03257/1.89, allocations: 16.18 MB / 0.7968 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/1.89, allocations: 88.94 kB / 0.7969 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004371/1.891, allocations: 196 kB / 0.7971 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006534/1.897, allocations: 1.832 MB / 0.7989 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/1.907, allocations: 2.488 MB / 0.8013 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2876/2.195, allocations: 12.34 MB / 0.8134 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/2.206, allocations: 1.549 MB / 0.8149 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/2.209, allocations: 0.6009 MB / 0.8155 GB, free: 154.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01718/2.226, allocations: 7.398 MB / 0.8227 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.228, allocations: 0.6338 MB / 0.8233 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/2.241, allocations: 8.375 MB / 0.8315 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009018/2.25, allocations: 6.738 MB / 0.8381 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/2.25, allocations: 13.06 kB / 0.8381 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/2.25, allocations: 27.34 kB / 0.8381 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03994/2.29, allocations: 21.11 MB / 0.8587 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/2.29, allocations: 1.203 kB / 0.8587 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/2.293, allocations: 0.7504 MB / 0.8595 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004828/2.298, allocations: 1.554 MB / 0.861 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/2.298, allocations: 91.64 kB / 0.8611 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/2.312, allocations: 11.98 MB / 0.8728 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/2.312, allocations: 3.984 kB / 0.8728 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/2.327, allocations: 12.03 MB / 0.8845 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/2.331, allocations: 1.369 MB / 0.8859 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/2.332, allocations: 76 kB / 0.8859 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/2.335, allocations: 306.5 kB / 0.8862 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006088/2.335, allocations: 302.1 kB / 0.8865 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/2.336, allocations: 129.3 kB / 0.8866 GB, free: 115.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007241/2.343, allocations: 4.859 MB / 0.8914 GB, free: 110.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/2.343, allocations: 0 / 0.8914 GB, free: 110.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0132/2.356, allocations: 4.202 MB / 0.8955 GB, free: 106.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/2.357, allocations: 278 kB / 0.8957 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01639/2.374, allocations: 11.23 MB / 0.9067 GB, free: 94.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.374, allocations: 4.062 kB / 0.9067 GB, free: 94.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005825/2.38, allocations: 4.16 MB / 0.9108 GB, free: 90.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007064/2.387, allocations: 1.4 MB / 0.9122 GB, free: 89.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05528/2.442, allocations: 35.5 MB / 0.9468 GB, free: 53.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01546/2.457, allocations: 11.88 MB / 0.9584 GB, free: 41.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01086/2.468, allocations: 3.952 MB / 0.9623 GB, free: 37.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/2.47, allocations: 0.4994 MB / 0.9628 GB, free: 37.38 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/2.47, allocations: 4 kB / 0.9628 GB, free: 37.38 MB / 494.1 MB Notification: Performance of Templates: time 0.3951/2.865, allocations: 94.07 MB / 1.055 GB, free: 129.9 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: