Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001251/0.001251, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.619/1.619, allocations: 205.1 MB / 222 MB, free: 4.742 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.001283/0.001283, allocations: 52.31 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 46.63 MB / 324.7 MB, free: 2.277 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005321/0.3437, allocations: 3.751 MB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3462, allocations: 1.052 MB / 329.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.3465, allocations: 18.41 kB / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.3469, allocations: 123.3 kB / 329.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007981/0.3477, allocations: 271.8 kB / 329.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.348, allocations: 111.5 kB / 330 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.3498, allocations: 1.696 MB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3511, allocations: 0.9616 MB / 332.6 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.3518, allocations: 0.541 MB / 333.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.3528, allocations: 0.7354 MB / 333.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.353, allocations: 104 kB / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.3532, allocations: 108 kB / 334.1 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.3536, allocations: 414.6 kB / 334.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007224/0.3543, allocations: 0.6686 MB / 335.2 MB, free: 9.824 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.356, allocations: 1.987 MB / 337.2 MB, free: 7.832 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.356, allocations: 0 / 337.2 MB, free: 7.832 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.356, allocations: 0 / 337.2 MB, free: 7.832 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.3561, allocations: 0 / 337.2 MB, free: 7.832 MB / 270.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.003121/0.3592, allocations: 1.68 MB / 338.9 MB, free: 6.098 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3592, allocations: 12.03 kB / 338.9 MB, free: 6.086 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.3595, allocations: 139.3 kB / 339 MB, free: 5.949 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3608, allocations: 0.8267 MB / 339.8 MB, free: 5.082 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.3609, allocations: 82.62 kB / 339.9 MB, free: 5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.361, allocations: 115.9 kB / 340 MB, free: 4.887 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.3636, allocations: 1.568 MB / 341.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3636, allocations: 0 / 341.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3637, allocations: 44 kB / 341.6 MB, free: 3.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.3637, allocations: 28 kB / 341.7 MB, free: 3.203 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.3658, allocations: 1.332 MB / 343 MB, free: 1.863 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.3726, allocations: 4.318 MB / 347.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.3739, allocations: 1.34 MB / 348.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008414/0.3748, allocations: 0.5341 MB / 349.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.3748, allocations: 8.438 kB / 349.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3749, allocations: 38.94 kB / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.334e-06/0.3749, allocations: 0 / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001452/0.3764, allocations: 0.8768 MB / 350.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3764, allocations: 59.78 kB / 350.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3775, allocations: 0.8205 MB / 351 MB, free: 9.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.3776, allocations: 37.7 kB / 351 MB, free: 9.488 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.378, allocations: 0.5415 MB / 351.6 MB, free: 8.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3782, allocations: 181.4 kB / 351.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3783, allocations: 102.2 kB / 351.9 MB, free: 8.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3785, allocations: 386.7 kB / 352.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.379, allocations: 308.9 kB / 352.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.3795, allocations: 398.5 kB / 352.9 MB, free: 7.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.3804, allocations: 0.6903 MB / 353.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3805, allocations: 0 / 353.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001239/0.3817, allocations: 0.8222 MB / 354.4 MB, free: 5.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3817, allocations: 4 kB / 354.4 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3818, allocations: 4 kB / 354.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3818, allocations: 4 kB / 354.4 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.3824, allocations: 147.8 kB / 354.6 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.3824, allocations: 11.92 kB / 354.6 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.3828, allocations: 63.36 kB / 354.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3829, allocations: 23.98 kB / 354.7 MB, free: 5.738 MB / 286.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.0006779/0.3836, allocations: 461.5 kB / 355.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3837, allocations: 71.16 kB / 355.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.3839, allocations: 91.06 kB / 355.3 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.3839, allocations: 8 kB / 355.3 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3839, allocations: 0 / 355.3 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.3839, allocations: 3.938 kB / 355.3 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.387, allocations: 1.951 MB / 357.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.387, allocations: 0 / 357.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.3875, allocations: 115.8 kB / 357.4 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.3875, allocations: 4 kB / 357.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.3876, allocations: 15.98 kB / 357.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3876, allocations: 7.938 kB / 357.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3876, allocations: 8.156 kB / 357.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.3892, allocations: 1.125 MB / 358.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.3894, allocations: 168.2 kB / 358.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.3895, allocations: 12 kB / 358.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.3899, allocations: 47.95 kB / 358.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3901, allocations: 48.39 kB / 358.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3901, allocations: 16 kB / 358.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008307/0.391, allocations: 0.5888 MB / 359.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.391, allocations: 0 / 359.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008741/0.3919, allocations: 282.7 kB / 359.7 MB, free: 0.6055 MB / 286.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.0002385/0.3921, allocations: 127 kB / 359.8 MB, free: 484 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3933, allocations: 0.6419 MB / 360.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.3934, allocations: 4 kB / 360.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.3938, allocations: 326.2 kB / 360.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.3948, allocations: 167.7 kB / 360.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.3991, allocations: 2.787 MB / 363.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/0.4001, allocations: 1.332 MB / 365.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.4006, allocations: 201.8 kB / 365.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4009, allocations: 55.44 kB / 365.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4009, allocations: 3.938 kB / 365.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Templates: time 0.02014/0.421, allocations: 9.543 MB / 374.9 MB, free: 1.332 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)