Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 113.4 kB / 16.63 MB, free: 6.332 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.00138/0.001381, allocations: 191.1 kB / 17.55 MB, free: 5.801 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.837/1.837, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001299/0.001299, allocations: 55.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008183/0.1499, allocations: 5.847 MB / 332 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.1551, allocations: 2.096 MB / 334.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.1559, allocations: 31.81 kB / 334.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1571, allocations: 338.4 kB / 334.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1586, allocations: 0.5053 MB / 334.9 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1591, allocations: 203.8 kB / 335.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.1615, allocations: 2.268 MB / 337.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.1638, allocations: 1.895 MB / 339.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.1667, allocations: 1.046 MB / 340.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.1683, allocations: 1.242 MB / 341.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.1687, allocations: 288 kB / 341.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.1694, allocations: 383.8 kB / 342.3 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006514/0.17, allocations: 0.6974 MB / 343 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.1714, allocations: 1.225 MB / 344.2 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.1752, allocations: 3.747 MB / 347.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.1752, allocations: 8 kB / 347.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1752, allocations: 0 / 347.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.266e-05/0.1753, allocations: 4 kB / 347.9 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004931/0.1802, allocations: 2.365 MB / 350.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1803, allocations: 12.03 kB / 350.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/0.1811, allocations: 250.4 kB / 350.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.1833, allocations: 1.236 MB / 351.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.1834, allocations: 131.5 kB / 351.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.1837, allocations: 176 kB / 352.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/0.1883, allocations: 2.543 MB / 354.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.1884, allocations: 3.938 kB / 354.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.1886, allocations: 72 kB / 354.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.1887, allocations: 91.58 kB / 354.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/0.1923, allocations: 2.114 MB / 356.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.2045, allocations: 7.452 MB / 364.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2061, allocations: 1.263 MB / 365.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.2068, allocations: 474.9 kB / 366.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.207, allocations: 109.5 kB / 366.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.2071, allocations: 39 kB / 366.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.2071, allocations: 4 kB / 366.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004487/0.2116, allocations: 2.261 MB / 368.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.2116, allocations: 89.48 kB / 368.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.2138, allocations: 1.508 MB / 370.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.2139, allocations: 41.64 kB / 370.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007602/0.2146, allocations: 0.9712 MB / 371.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.2148, allocations: 197.4 kB / 371.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.2152, allocations: 242.5 kB / 371.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2154, allocations: 357.9 kB / 371.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.2161, allocations: 458.3 kB / 372.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2173, allocations: 1.087 MB / 373.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.2192, allocations: 1.631 MB / 375.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2192, allocations: 4 kB / 375.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002705/0.222, allocations: 1.687 MB / 376.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.222, allocations: 12 kB / 376.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.222, allocations: 27.94 kB / 376.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.2229, allocations: 176.8 kB / 377 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.2237, allocations: 283.5 kB / 377.2 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2712/0.495, allocations: 2.366 MB / 379.6 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.4968, allocations: 84.55 kB / 379.7 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.497, allocations: 69.41 kB / 379.8 MB, free: 49.79 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001693/0.4987, allocations: 0.7037 MB / 380.5 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.4991, allocations: 136.4 kB / 380.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.5011, allocations: 0.8382 MB / 381.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5011, allocations: 8.188 kB / 381.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5012, allocations: 3.562 kB / 381.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5012, allocations: 2.25 kB / 381.4 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.5055, allocations: 2.505 MB / 383.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.5055, allocations: 2.375 kB / 383.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.5059, allocations: 96.69 kB / 384 MB, free: 47.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007907/0.5068, allocations: 155.2 kB / 384.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.5068, allocations: 19.3 kB / 384.2 MB, free: 47.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.5091, allocations: 2.306 MB / 386.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.5091, allocations: 8.188 kB / 386.5 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.5112, allocations: 1.309 MB / 387.8 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.5118, allocations: 283.9 kB / 388.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.512, allocations: 20.98 kB / 388.1 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.5126, allocations: 43.62 kB / 388.2 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.5128, allocations: 57.61 kB / 388.2 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.5129, allocations: 19.12 kB / 388.3 MB, free: 45.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001867/0.5147, allocations: 1.036 MB / 389.3 MB, free: 44.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5147, allocations: 0 / 389.3 MB, free: 44.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001807/0.5165, allocations: 346.6 kB / 389.6 MB, free: 44.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004861/0.517, allocations: 183.3 kB / 389.8 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.5195, allocations: 1.244 MB / 391 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.5195, allocations: 0.9062 kB / 391 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.5202, allocations: 0.5113 MB / 391.6 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5218, allocations: 381.3 kB / 391.9 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/0.5272, allocations: 3.939 MB / 395.9 MB, free: 41.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.5285, allocations: 1.699 MB / 397.6 MB, free: 40.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008816/0.5294, allocations: 322.5 kB / 397.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5296, allocations: 88.61 kB / 398 MB, free: 40.56 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5296, allocations: 0 / 398 MB, free: 40.56 MB / 318.1 MB Notification: Performance of Templates: time 0.03158/0.5612, allocations: 18.46 MB / 416.4 MB, free: 23.96 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)