Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 86.97 kB / 16.31 MB, free: 6.449 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.0009785/0.0009785, allocations: 183 kB / 17.21 MB, free: 6.316 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.623/1.623, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0004991/0.0004992, allocations: 8 kB / 280.1 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 47.58 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003813/0.3071, allocations: 3.189 MB / 330.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.309, allocations: 0.9705 MB / 331.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.3092, allocations: 19.09 kB / 331.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.3095, allocations: 117.4 kB / 332 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.3103, allocations: 239.9 kB / 332.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3105, allocations: 98.36 kB / 332.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3121, allocations: 1.488 MB / 333.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.3132, allocations: 0.7437 MB / 334.6 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.3138, allocations: 477.6 kB / 335 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.3146, allocations: 0.6226 MB / 335.7 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3148, allocations: 76 kB / 335.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.3149, allocations: 76 kB / 335.8 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.3152, allocations: 354.9 kB / 336.2 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.3155, allocations: 269.1 kB / 336.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3169, allocations: 1.622 MB / 338.1 MB, free: 9.172 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3169, allocations: 0 / 338.1 MB, free: 9.172 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3169, allocations: 0 / 338.1 MB, free: 9.172 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.317, allocations: 0 / 338.1 MB, free: 9.172 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002437/0.3194, allocations: 1.461 MB / 339.5 MB, free: 7.656 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3195, allocations: 8.031 kB / 339.5 MB, free: 7.648 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.3197, allocations: 142.3 kB / 339.7 MB, free: 7.508 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3209, allocations: 0.7831 MB / 340.4 MB, free: 6.684 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.321, allocations: 82.22 kB / 340.5 MB, free: 6.602 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.3211, allocations: 108 kB / 340.6 MB, free: 6.496 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.3236, allocations: 1.54 MB / 342.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3236, allocations: 0 / 342.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3237, allocations: 48 kB / 342.2 MB, free: 4.863 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.3237, allocations: 24 kB / 342.2 MB, free: 4.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.3258, allocations: 1.316 MB / 343.6 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005983/0.3318, allocations: 4.252 MB / 347.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.333, allocations: 1.315 MB / 349.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.3337, allocations: 462.5 kB / 349.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3338, allocations: 8.375 kB / 349.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.3338, allocations: 43 kB / 349.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.3338, allocations: 0 / 349.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003071/0.3369, allocations: 1.966 MB / 351.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.337, allocations: 63.78 kB / 351.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.3379, allocations: 0.8125 MB / 352.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.338, allocations: 37.7 kB / 352.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.3383, allocations: 0.5414 MB / 353 MB, free: 9.613 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3385, allocations: 177.5 kB / 353.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.3385, allocations: 8 kB / 353.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3387, allocations: 390.7 kB / 353.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.3391, allocations: 308.9 kB / 353.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3397, allocations: 399.4 kB / 354.3 MB, free: 8.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.3402, allocations: 381.9 kB / 354.7 MB, free: 7.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3402, allocations: 3.938 kB / 354.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001379/0.3416, allocations: 0.9205 MB / 355.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3417, allocations: 4 kB / 355.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3417, allocations: 4 kB / 355.6 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.342, allocations: 112.9 kB / 355.7 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3425, allocations: 127.8 kB / 355.8 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.3446, allocations: 2.166 MB / 358 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3449, allocations: 36.03 kB / 358 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.345, allocations: 24.09 kB / 358.1 MB, free: 4.398 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006375/0.3456, allocations: 457.4 kB / 358.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3457, allocations: 75.06 kB / 358.6 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3459, allocations: 91.08 kB / 358.7 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3459, allocations: 7.953 kB / 358.7 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.346, allocations: 4.062 kB / 358.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.346, allocations: 11.98 kB / 358.7 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.3492, allocations: 2.029 MB / 360.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3492, allocations: 0 / 360.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.3496, allocations: 99.97 kB / 360.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.3498, allocations: 108.8 kB / 360.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.3499, allocations: 19.92 kB / 360.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.352, allocations: 2.127 MB / 363.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.352, allocations: 4.031 kB / 363.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3537, allocations: 1.211 MB / 364.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3539, allocations: 160.3 kB / 364.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.918e-05/0.354, allocations: 15.95 kB / 364.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.3544, allocations: 56.02 kB / 364.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3545, allocations: 44.31 kB / 364.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3546, allocations: 16 kB / 364.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007317/0.3553, allocations: 0.5771 MB / 365.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3553, allocations: 4 kB / 365.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.356, allocations: 208 kB / 365.4 MB, free: 12.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.3562, allocations: 115.2 kB / 365.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.3577, allocations: 0.8204 MB / 366.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3577, allocations: 4 kB / 366.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.3585, allocations: 493.7 kB / 366.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.3594, allocations: 175 kB / 366.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.3635, allocations: 2.639 MB / 369.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.3648, allocations: 1.332 MB / 370.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004945/0.3653, allocations: 181.8 kB / 371.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.3655, allocations: 51.42 kB / 371.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3655, allocations: 0 / 371.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of Templates: time 0.01842/0.3839, allocations: 9.588 MB / 380.7 MB, free: 13.31 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)