Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 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.001852/0.001852, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.882/1.882, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.002404/0.002405, allocations: 56.3 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3933, allocations: 46.64 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00807/0.4014, allocations: 5.86 MB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.4078, allocations: 2.114 MB / 333.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.4092, allocations: 34.34 kB / 333.3 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.4106, allocations: 395.1 kB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.4128, allocations: 0.5425 MB / 334.3 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.4134, allocations: 240 kB / 334.5 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.4162, allocations: 2.271 MB / 336.8 MB, free: 8.559 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.4183, allocations: 1.891 MB / 338.6 MB, free: 6.629 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.421, allocations: 1.041 MB / 339.7 MB, free: 5.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.4227, allocations: 1.21 MB / 340.9 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.4231, allocations: 288 kB / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007746/0.4239, allocations: 371.8 kB / 341.5 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006947/0.4246, allocations: 0.7012 MB / 342.2 MB, free: 3.027 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.4261, allocations: 1.229 MB / 343.5 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003566/0.4296, allocations: 3.751 MB / 347.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4297, allocations: 4 kB / 347.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4297, allocations: 0 / 347.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.079e-05/0.4297, allocations: 0 / 347.2 MB, free: 14.03 MB / 286.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.004513/0.4343, allocations: 2.365 MB / 349.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.4343, allocations: 12.02 kB / 349.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.4351, allocations: 258.2 kB / 349.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.4369, allocations: 1.224 MB / 351.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4371, allocations: 135.5 kB / 351.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.4373, allocations: 172 kB / 351.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.4413, allocations: 2.547 MB / 353.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.4413, allocations: 0 / 353.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.4415, allocations: 76 kB / 354 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.4416, allocations: 99.52 kB / 354.1 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.4452, allocations: 2.103 MB / 356.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.4558, allocations: 7.46 MB / 363.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.4573, allocations: 1.255 MB / 364.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.4581, allocations: 470.9 kB / 365.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.4583, allocations: 121.5 kB / 365.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4584, allocations: 43 kB / 365.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.956e-06/0.4584, allocations: 0 / 365.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00435/0.4627, allocations: 2.261 MB / 367.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.4628, allocations: 81.55 kB / 367.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.4649, allocations: 1.508 MB / 369.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.465, allocations: 41.69 kB / 369.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.4657, allocations: 0.9674 MB / 370.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4658, allocations: 197.3 kB / 370.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.4662, allocations: 242.6 kB / 370.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4664, allocations: 361.9 kB / 371.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.467, allocations: 450.3 kB / 371.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.4682, allocations: 1.098 MB / 372.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.47, allocations: 1.623 MB / 374.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4701, allocations: 8 kB / 374.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002642/0.4727, allocations: 1.683 MB / 376 MB, free: 15.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4727, allocations: 16 kB / 376 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.4728, allocations: 20 kB / 376.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.4734, allocations: 165 kB / 376.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.4743, allocations: 283.5 kB / 376.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.4768, allocations: 2.368 MB / 378.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.4779, allocations: 79.67 kB / 379 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.478, allocations: 83.91 kB / 379 MB, free: 12.75 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.001271/0.4793, allocations: 0.6962 MB / 379.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.4796, allocations: 138.4 kB / 379.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.481, allocations: 0.8373 MB / 380.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.481, allocations: 4 kB / 380.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.481, allocations: 0 / 380.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4811, allocations: 11.98 kB / 380.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.485, allocations: 2.506 MB / 383.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.485, allocations: 4 kB / 383.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.4854, allocations: 95.88 kB / 383.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.4859, allocations: 137 kB / 383.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.486, allocations: 16 kB / 383.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.4883, allocations: 2.307 MB / 385.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.4883, allocations: 7.938 kB / 385.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.4902, allocations: 1.32 MB / 387.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.4909, allocations: 283.5 kB / 387.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.4911, allocations: 16 kB / 387.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.4918, allocations: 44.03 kB / 387.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.492, allocations: 47.88 kB / 387.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.492, allocations: 23.98 kB / 387.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001843/0.4939, allocations: 1.036 MB / 388.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4939, allocations: 0 / 388.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001736/0.4956, allocations: 352 kB / 388.9 MB, free: 2.555 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.0004656/0.4961, allocations: 190.9 kB / 389.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.4982, allocations: 1.247 MB / 390.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4982, allocations: 0 / 390.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007374/0.499, allocations: 0.5058 MB / 390.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.5004, allocations: 374.5 kB / 391.2 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/0.5055, allocations: 3.204 MB / 394.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.5068, allocations: 1.702 MB / 396.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009475/0.5077, allocations: 323.2 kB / 396.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.5079, allocations: 87.44 kB / 396.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5079, allocations: 0 / 396.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Templates: time 0.0339/0.5418, allocations: 18.56 MB / 415.1 MB, free: 8.203 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)