Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 128 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.001749/0.001749, allocations: 195.3 kB / 16.53 MB, free: 6.672 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.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001756/0.001756, allocations: 56.39 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 46.64 MB / 325.3 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004921/0.2922, allocations: 3.711 MB / 329 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2945, allocations: 1.018 MB / 330 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.2947, allocations: 23.53 kB / 330.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.2951, allocations: 147.5 kB / 330.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.296, allocations: 267.5 kB / 330.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2963, allocations: 131.5 kB / 330.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.2979, allocations: 1.412 MB / 332 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.2992, allocations: 1.107 MB / 333.1 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.3, allocations: 0.6269 MB / 333.7 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.301, allocations: 0.7472 MB / 334.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.3013, allocations: 156 kB / 334.6 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.3015, allocations: 156 kB / 334.8 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.302, allocations: 462.7 kB / 335.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.3028, allocations: 0.7272 MB / 336 MB, free: 9.305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3044, allocations: 2.019 MB / 338 MB, free: 7.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3044, allocations: 0 / 338 MB, free: 7.281 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3044, allocations: 0 / 338 MB, free: 7.281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3044, allocations: 0 / 338 MB, free: 7.281 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.002769/0.3072, allocations: 1.656 MB / 339.6 MB, free: 5.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3072, allocations: 12.03 kB / 339.7 MB, free: 5.559 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.3075, allocations: 139.2 kB / 339.8 MB, free: 5.422 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3086, allocations: 0.8073 MB / 340.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.3087, allocations: 86.53 kB / 340.7 MB, free: 4.488 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.3089, allocations: 111.9 kB / 340.8 MB, free: 4.379 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.3114, allocations: 1.544 MB / 342.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3114, allocations: 0 / 342.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3115, allocations: 44 kB / 342.4 MB, free: 2.746 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.3115, allocations: 28 kB / 342.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3136, allocations: 1.304 MB / 343.7 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.3201, allocations: 4.224 MB / 347.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3214, allocations: 1.307 MB / 349.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007496/0.3221, allocations: 466.5 kB / 349.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3222, allocations: 8.422 kB / 349.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3222, allocations: 42.94 kB / 349.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.3222, allocations: 0 / 349.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003497/0.3257, allocations: 1.938 MB / 351.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3259, allocations: 63.84 kB / 351.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.327, allocations: 0.8203 MB / 352.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.327, allocations: 33.7 kB / 352.6 MB, free: 8.113 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.3274, allocations: 0.5414 MB / 353.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3276, allocations: 173.5 kB / 353.3 MB, free: 7.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3278, allocations: 102.2 kB / 353.4 MB, free: 7.281 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.328, allocations: 390.7 kB / 353.8 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.3285, allocations: 300.9 kB / 354.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.3292, allocations: 399.4 kB / 354.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3303, allocations: 0.7028 MB / 355.2 MB, free: 5.441 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3303, allocations: 0 / 355.2 MB, free: 5.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001334/0.3316, allocations: 0.9164 MB / 356.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3316, allocations: 4 kB / 356.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3317, allocations: 4 kB / 356.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.3319, allocations: 109.1 kB / 356.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.3324, allocations: 123.8 kB / 356.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.335, allocations: 2.384 MB / 358.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.3354, allocations: 31.91 kB / 358.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.3355, allocations: 23.98 kB / 358.8 MB, free: 1.695 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007871/0.3363, allocations: 449.5 kB / 359.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3364, allocations: 71.16 kB / 359.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.3366, allocations: 103.1 kB / 359.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3366, allocations: 4 kB / 359.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.3366, allocations: 7.875 kB / 359.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3366, allocations: 3.938 kB / 359.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.3399, allocations: 2.018 MB / 361.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3399, allocations: 0 / 361.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.3404, allocations: 99.8 kB / 361.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.3406, allocations: 104.9 kB / 361.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3406, allocations: 11.98 kB / 361.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.3431, allocations: 2.322 MB / 363.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3431, allocations: 0 / 363.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.3448, allocations: 1.204 MB / 365.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.3451, allocations: 160.2 kB / 365.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.3452, allocations: 12 kB / 365.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3456, allocations: 55.95 kB / 365.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3457, allocations: 40.31 kB / 365.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3457, allocations: 16 kB / 365.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007513/0.3465, allocations: 0.5849 MB / 366 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3465, allocations: 0 / 366 MB, free: 10.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007819/0.3473, allocations: 216 kB / 366.2 MB, free: 9.953 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.3475, allocations: 119.1 kB / 366.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.3491, allocations: 0.9378 MB / 367.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3492, allocations: 0 / 367.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.3499, allocations: 496.9 kB / 367.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.3508, allocations: 179 kB / 367.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.3546, allocations: 2.208 MB / 370.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/0.3555, allocations: 1.34 MB / 371.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.356, allocations: 185.8 kB / 371.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3561, allocations: 47.44 kB / 371.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3561, allocations: 0 / 371.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of Templates: time 0.01956/0.3757, allocations: 10.44 MB / 382.2 MB, free: 9.887 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)