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.000902/0.000902, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006236/0.006237, allocations: 171.8 kB / 16.27 MB, free: 6.652 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.477/1.477, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004333/0.0004333, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 47.59 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02588/0.2572, allocations: 27.65 MB / 354.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.2731, allocations: 7.314 MB / 362 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006089/0.2793, allocations: 207.3 kB / 362.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007496/0.2868, allocations: 2.018 MB / 364.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.3017, allocations: 2.734 MB / 367 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007149/0.3088, allocations: 1.747 MB / 368.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02241/0.3313, allocations: 18.47 MB / 387.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07902/0.4103, allocations: 43.74 MB / 430.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.4233, allocations: 7.085 MB / 438 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01546/0.4388, allocations: 8.597 MB / 446.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004778/0.4436, allocations: 1.168 MB / 447.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008839/0.4525, allocations: 1.414 MB / 449.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005913/0.4585, allocations: 3.534 MB / 452.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3725/0.831, allocations: 8.746 MB / 461.5 MB, free: 45.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03583/0.8669, allocations: 37.28 MB / 498.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8669, allocations: 0 / 498.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.8669, allocations: 0 / 498.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001441/0.8684, allocations: 0 / 498.7 MB, free: 31.3 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.05383/0.9222, allocations: 18.81 MB / 0.5054 GB, free: 22.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9223, allocations: 10.59 kB / 0.5054 GB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06522/0.9875, allocations: 12.33 MB / 0.5175 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/1.008, allocations: 10.56 MB / 0.5278 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/1.01, allocations: 1.399 MB / 0.5291 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007431/1.017, allocations: 1.819 MB / 0.5309 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09319/1.11, allocations: 30.9 MB / 0.5611 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000953/1.111, allocations: 21.69 kB / 0.5611 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009037/1.12, allocations: 0.7619 MB / 0.5619 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/1.122, allocations: 0.9841 MB / 0.5628 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06425/1.186, allocations: 27.91 MB / 0.5901 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3557/1.542, allocations: 94.62 MB / 0.6825 GB, free: 95.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/1.573, allocations: 53.39 MB / 0.7346 GB, free: 37.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/1.583, allocations: 5.892 MB / 0.7404 GB, free: 31.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/1.613, allocations: 16.89 MB / 0.7569 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.549e-05/1.613, allocations: 77.95 kB / 0.7569 GB, free: 14.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=439): time 9.498e-06/1.613, allocations: 0 / 0.7569 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=439): time 0.03365/1.647, allocations: 13.47 MB / 0.7701 GB, free: 1.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/1.647, allocations: 124.5 kB / 0.7702 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/1.663, allocations: 7.489 MB / 0.7775 GB, free: 9.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008415/1.664, allocations: 93.7 kB / 0.7776 GB, free: 9.332 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006816/1.671, allocations: 8.515 MB / 0.7859 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.673, allocations: 1.593 MB / 0.7875 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/1.675, allocations: 0.8621 MB / 0.7883 GB, free: 14.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/1.675, allocations: 305.1 kB / 0.7886 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007762/1.683, allocations: 4.78 MB / 0.7933 GB, free: 9.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2445/1.927, allocations: 10.48 MB / 0.8035 GB, free: 161.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02049/1.948, allocations: 16.15 MB / 0.8193 GB, free: 152.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003137/1.948, allocations: 56.31 kB / 0.8194 GB, free: 152.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02604/1.974, allocations: 16.17 MB / 0.8351 GB, free: 146.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.974, allocations: 92.16 kB / 0.8352 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000288/1.975, allocations: 195.5 kB / 0.8354 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00523/1.98, allocations: 1.705 MB / 0.8371 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008953/1.989, allocations: 2.503 MB / 0.8395 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/2.002, allocations: 10.78 MB / 0.8501 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009076/2.011, allocations: 1.566 MB / 0.8516 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001854/2.013, allocations: 0.6001 MB / 0.8522 GB, free: 137.6 MB / 494.1 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01263/2.025, allocations: 7.392 MB / 0.8594 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/2.026, allocations: 0.6254 MB / 0.86 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/2.038, allocations: 8.264 MB / 0.8681 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008081/2.046, allocations: 6.651 MB / 0.8746 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/2.046, allocations: 12 kB / 0.8746 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/2.046, allocations: 23.92 kB / 0.8746 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03213/2.079, allocations: 21.01 MB / 0.8951 GB, free: 96.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/2.079, allocations: 7.625 kB / 0.8951 GB, free: 96.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/2.082, allocations: 0.7645 MB / 0.8959 GB, free: 96.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/2.087, allocations: 1.461 MB / 0.8973 GB, free: 94.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009905/2.088, allocations: 91.97 kB / 0.8974 GB, free: 94.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.1, allocations: 10.43 MB / 0.9076 GB, free: 84.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.1, allocations: 0 / 0.9076 GB, free: 84.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/2.114, allocations: 11.98 MB / 0.9193 GB, free: 72.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/2.117, allocations: 1.378 MB / 0.9206 GB, free: 70.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.118, allocations: 83.98 kB / 0.9207 GB, free: 70.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/2.122, allocations: 300.9 kB / 0.921 GB, free: 70.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/2.123, allocations: 307.8 kB / 0.9213 GB, free: 69.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/2.123, allocations: 124 kB / 0.9214 GB, free: 69.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008455/2.131, allocations: 4.926 MB / 0.9262 GB, free: 64.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.51e-07/2.131, allocations: 4 kB / 0.9262 GB, free: 64.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0131/2.145, allocations: 4.18 MB / 0.9303 GB, free: 60.7 MB / 494.1 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/2.146, allocations: 271.9 kB / 0.9306 GB, free: 60.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01548/2.161, allocations: 11.13 MB / 0.9414 GB, free: 49.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/2.161, allocations: 128 / 0.9414 GB, free: 49.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005181/2.166, allocations: 4.033 MB / 0.9454 GB, free: 45.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008741/2.175, allocations: 1.446 MB / 0.9468 GB, free: 43.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3066/2.482, allocations: 37.63 MB / 0.9835 GB, free: 148.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02085/2.503, allocations: 11.61 MB / 0.9949 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01183/2.515, allocations: 3.986 MB / 0.9988 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/2.516, allocations: 0.499 MB / 0.9992 GB, free: 146.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/2.516, allocations: 0 / 0.9992 GB, free: 146.8 MB / 494.1 MB Notification: Performance of Templates: time 0.152/2.668, allocations: 94.97 MB / 1.092 GB, free: 67.15 MB / 494.1 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)