Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 104.8 kB / 17.05 MB, free: 6.023 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.001233/0.001233, allocations: 196 kB / 18 MB, free: 5.105 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.77/1.77, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001465/0.001465, allocations: 52.34 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006048/0.1381, allocations: 3.726 MB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3108/0.4489, allocations: 1.064 MB / 379.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.4496, allocations: 18.34 kB / 379.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.4501, allocations: 148.1 kB / 379.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.4512, allocations: 292.3 kB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.4515, allocations: 134.9 kB / 379.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.4531, allocations: 1.449 MB / 381.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.4547, allocations: 1.145 MB / 382.4 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.4557, allocations: 0.6382 MB / 383.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.4569, allocations: 0.7707 MB / 383.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.4572, allocations: 159.4 kB / 384 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.4575, allocations: 158.7 kB / 384.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.4581, allocations: 470.6 kB / 384.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009268/0.459, allocations: 0.7369 MB / 385.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.4621, allocations: 2.064 MB / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4621, allocations: 1.219 kB / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4621, allocations: 0 / 387.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.4621, allocations: 4 kB / 387.4 MB, free: 7.445 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003444/0.4656, allocations: 1.677 MB / 389.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4657, allocations: 13.53 kB / 389.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.466, allocations: 143.1 kB / 389.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.4676, allocations: 0.8272 MB / 390.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/0.4677, allocations: 84.78 kB / 390.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.4679, allocations: 116.6 kB / 390.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.4711, allocations: 1.568 MB / 391.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.4712, allocations: 0 / 391.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.4713, allocations: 48.34 kB / 391.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.4713, allocations: 26.69 kB / 391.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.4739, allocations: 1.33 MB / 393.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007361/0.4813, allocations: 4.275 MB / 397.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.4825, allocations: 1.323 MB / 398.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009494/0.4835, allocations: 0.5225 MB / 399.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.4835, allocations: 5.375 kB / 399.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4836, allocations: 41.62 kB / 399.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.907e-06/0.4836, allocations: 4 kB / 399.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.00166/0.4853, allocations: 0.871 MB / 400.3 MB, free: 476 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4853, allocations: 57.75 kB / 400.3 MB, free: 412 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4866, allocations: 0.8237 MB / 401.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.4867, allocations: 35.86 kB / 401.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.4872, allocations: 0.542 MB / 401.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.4874, allocations: 181 kB / 401.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.4876, allocations: 103.3 kB / 402 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.4878, allocations: 392.4 kB / 402.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.4883, allocations: 300.4 kB / 402.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.4889, allocations: 401.2 kB / 403.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.49, allocations: 0.6839 MB / 403.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.49, allocations: 5.125 kB / 403.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001419/0.4914, allocations: 0.8206 MB / 404.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4914, allocations: 5.719 kB / 404.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.4915, allocations: 6.156 kB / 404.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.4915, allocations: 4.688 kB / 404.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.4921, allocations: 152.8 kB / 404.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.4922, allocations: 8.75 kB / 404.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.4926, allocations: 63.81 kB / 404.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.4927, allocations: 22.31 kB / 404.9 MB, free: 13.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008044/0.4935, allocations: 457.7 kB / 405.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4936, allocations: 75.12 kB / 405.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.4938, allocations: 93.8 kB / 405.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4938, allocations: 8.438 kB / 405.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.4939, allocations: 1.125 kB / 405.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4939, allocations: 3.984 kB / 405.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.497, allocations: 1.947 MB / 407.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.497, allocations: 2.5 kB / 407.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.4975, allocations: 116.7 kB / 407.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4975, allocations: 4.031 kB / 407.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.4975, allocations: 15.48 kB / 407.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4975, allocations: 4 kB / 407.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4976, allocations: 1.281 kB / 407.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4992, allocations: 1.129 MB / 408.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.4994, allocations: 174.5 kB / 408.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.4995, allocations: 12.12 kB / 408.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.4999, allocations: 47.44 kB / 408.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5, allocations: 38.2 kB / 409 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.5001, allocations: 20.38 kB / 409 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007958/0.5009, allocations: 0.5912 MB / 409.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5009, allocations: 0 / 409.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009442/0.5018, allocations: 280.1 kB / 409.8 MB, free: 10.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.502, allocations: 117.6 kB / 410 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.5031, allocations: 0.6532 MB / 410.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5031, allocations: 0 / 410.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.5035, allocations: 322.2 kB / 410.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.5045, allocations: 178.9 kB / 411.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.5081, allocations: 2.289 MB / 413.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.509, allocations: 1.34 MB / 414.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.5094, allocations: 201.8 kB / 414.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5096, allocations: 55.38 kB / 415 MB, free: 5.355 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5096, allocations: 4 kB / 415 MB, free: 5.352 MB / 334.1 MB Notification: Performance of Templates: time 0.01722/0.5268, allocations: 10.28 MB / 425.3 MB, free: 11.08 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)