Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009346/0.0009347, allocations: 99.86 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.001/0.001, allocations: 177.3 kB / 15.95 MB, free: 216 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.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004987/0.0004991, allocations: 15.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02283/0.2674, allocations: 23.68 MB / 350.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.2831, allocations: 7.091 MB / 357.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005655/0.2888, allocations: 207.3 kB / 357.4 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005868/0.2947, allocations: 1.546 MB / 359 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3063, allocations: 2.497 MB / 361.5 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00588/0.3122, allocations: 1.4 MB / 362.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02735/0.3395, allocations: 18.2 MB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0774/0.417, allocations: 35.41 MB / 416.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.4292, allocations: 6.428 MB / 422.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.4439, allocations: 7.552 MB / 430.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006461/0.4504, allocations: 1.168 MB / 431.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008953/0.4594, allocations: 1.355 MB / 433 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007874/0.4673, allocations: 3.391 MB / 436.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009394/0.4767, allocations: 3.72 MB / 440.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4965/0.9733, allocations: 33.68 MB / 473.8 MB, free: 41.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9734, allocations: 0 / 473.8 MB, free: 41.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.9734, allocations: 0 / 473.8 MB, free: 41.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001975/0.9754, allocations: 0 / 473.8 MB, free: 41.54 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.06639/1.042, allocations: 18.98 MB / 492.8 MB, free: 32.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.042, allocations: 9.688 kB / 492.8 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06396/1.106, allocations: 12.34 MB / 0.4933 GB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/1.132, allocations: 10.44 MB / 0.5035 GB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001469/1.133, allocations: 1.398 MB / 0.5048 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008643/1.142, allocations: 1.82 MB / 0.5066 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08332/1.225, allocations: 30.59 MB / 0.5365 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000763/1.226, allocations: 20.89 kB / 0.5365 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008865/1.235, allocations: 0.7491 MB / 0.5372 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/1.236, allocations: 0.9976 MB / 0.5382 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06462/1.301, allocations: 27.75 MB / 0.5653 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3949/1.696, allocations: 94.56 MB / 0.6577 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03159/1.727, allocations: 53.36 MB / 0.7098 GB, free: 68.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0357/1.763, allocations: 16.84 MB / 0.7262 GB, free: 64.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/1.763, allocations: 81.72 kB / 0.7263 GB, free: 64.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=445): time 9.648e-06/1.763, allocations: 0 / 0.7263 GB, free: 64.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=445): time 0.03738/1.801, allocations: 14.8 MB / 0.7407 GB, free: 56.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/1.801, allocations: 123.9 kB / 0.7409 GB, free: 56.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.813, allocations: 7.416 MB / 0.7481 GB, free: 52.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009089/1.814, allocations: 93.7 kB / 0.7482 GB, free: 52.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005026/1.819, allocations: 8.5 MB / 0.7565 GB, free: 43.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002136/1.821, allocations: 1.613 MB / 0.7581 GB, free: 41.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008299/1.822, allocations: 216 kB / 0.7583 GB, free: 41.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004546/1.822, allocations: 0.7726 MB / 0.759 GB, free: 40.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006677/1.829, allocations: 4.76 MB / 0.7637 GB, free: 36.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/1.839, allocations: 10.39 MB / 0.7738 GB, free: 22.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.851, allocations: 7.334 MB / 0.781 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002179/1.851, allocations: 56 kB / 0.781 GB, free: 15.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03093/1.882, allocations: 16.17 MB / 0.7968 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000332/1.882, allocations: 88 kB / 0.7969 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004615/1.883, allocations: 196 kB / 0.7971 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/1.89, allocations: 1.825 MB / 0.7989 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/1.9, allocations: 2.495 MB / 0.8013 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2873/2.187, allocations: 12.33 MB / 0.8134 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.198, allocations: 1.553 MB / 0.8149 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.2, allocations: 0.6048 MB / 0.8155 GB, free: 153.9 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.01335/2.214, allocations: 7.392 MB / 0.8227 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/2.215, allocations: 0.6328 MB / 0.8233 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/2.227, allocations: 8.377 MB / 0.8315 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007983/2.235, allocations: 6.74 MB / 0.8381 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/2.235, allocations: 15.44 kB / 0.8381 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/2.235, allocations: 21.98 kB / 0.8381 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03589/2.271, allocations: 21.11 MB / 0.8587 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/2.271, allocations: 0 / 0.8587 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/2.274, allocations: 0.7542 MB / 0.8595 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004677/2.278, allocations: 1.551 MB / 0.861 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/2.279, allocations: 95.64 kB / 0.8611 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/2.291, allocations: 11.98 MB / 0.8728 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.291, allocations: 8.562 kB / 0.8728 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/2.306, allocations: 12.02 MB / 0.8845 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00365/2.309, allocations: 1.372 MB / 0.8859 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/2.311, allocations: 76 kB / 0.8859 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/2.314, allocations: 309 kB / 0.8862 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/2.315, allocations: 304 kB / 0.8865 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/2.315, allocations: 124 kB / 0.8866 GB, free: 115.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00748/2.322, allocations: 4.865 MB / 0.8914 GB, free: 110.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/2.322, allocations: 0 / 0.8914 GB, free: 110.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01472/2.337, allocations: 4.202 MB / 0.8955 GB, free: 106.5 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.001241/2.338, allocations: 276.6 kB / 0.8958 GB, free: 106.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01607/2.355, allocations: 11.22 MB / 0.9067 GB, free: 95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/2.355, allocations: 4 kB / 0.9067 GB, free: 94.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006175/2.361, allocations: 4.169 MB / 0.9108 GB, free: 90.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007237/2.368, allocations: 1.403 MB / 0.9122 GB, free: 89.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06833/2.436, allocations: 35.5 MB / 0.9468 GB, free: 53.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02218/2.459, allocations: 11.89 MB / 0.9584 GB, free: 41.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01293/2.472, allocations: 3.952 MB / 0.9623 GB, free: 37.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/2.474, allocations: 0.4955 MB / 0.9628 GB, free: 37.47 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/2.474, allocations: 1.312 kB / 0.9628 GB, free: 37.47 MB / 494.1 MB Notification: Performance of Templates: time 0.4387/2.913, allocations: 94.07 MB / 1.055 GB, free: 106.7 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) Environment - environmentSimulation: