Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001008/0.001008, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001118/0.001118, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0008233/0.0008234, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3133, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005051/0.3184, allocations: 3.005 MB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3215, allocations: 0.9968 MB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.322, allocations: 18.59 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3224, allocations: 122.2 kB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.3234, allocations: 211.5 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3238, allocations: 95.27 kB / 330.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3255, allocations: 0.8625 MB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.327, allocations: 0.7362 MB / 332.5 MB, free: 13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.3282, allocations: 450.9 kB / 332.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3296, allocations: 0.531 MB / 333.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.3299, allocations: 77.09 kB / 333.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.3302, allocations: 72 kB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005067/0.3307, allocations: 335 kB / 333.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.3311, allocations: 269 kB / 334.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.3335, allocations: 1.614 MB / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3335, allocations: 0 / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3335, allocations: 0 / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.767e-05/0.3336, allocations: 0 / 335.8 MB, free: 10.12 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.004609/0.3382, allocations: 1.457 MB / 337.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.3383, allocations: 8.031 kB / 337.3 MB, free: 8.605 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.3387, allocations: 142.3 kB / 337.4 MB, free: 8.465 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.341, allocations: 0.7831 MB / 338.2 MB, free: 7.641 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3412, allocations: 90.22 kB / 338.3 MB, free: 7.551 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.3415, allocations: 112 kB / 338.4 MB, free: 7.441 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.3461, allocations: 1.521 MB / 339.9 MB, free: 5.875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.3461, allocations: 0 / 339.9 MB, free: 5.875 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.3463, allocations: 52 kB / 340 MB, free: 5.824 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.3464, allocations: 24 kB / 340 MB, free: 5.801 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/0.3504, allocations: 1.312 MB / 341.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.3633, allocations: 4.256 MB / 345.5 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.3658, allocations: 1.315 MB / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.3659, allocations: 8.422 kB / 346.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.366, allocations: 43 kB / 346.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 4.939e-06/0.366, allocations: 4 kB / 346.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=50): time 0.006385/0.3724, allocations: 1.966 MB / 348.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.3725, allocations: 71.78 kB / 348.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.3747, allocations: 0.8086 MB / 349.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/0.3748, allocations: 37.7 kB / 349.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/0.3756, allocations: 0.5414 MB / 350.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.3758, allocations: 173.5 kB / 350.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3759, allocations: 8 kB / 350.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003244/0.3763, allocations: 386.7 kB / 350.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.3769, allocations: 316.9 kB / 351.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/0.3777, allocations: 411.3 kB / 351.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.3783, allocations: 374 kB / 352 MB, free: 9.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3784, allocations: 0 / 352 MB, free: 9.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001763/0.3801, allocations: 0.9282 MB / 352.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3802, allocations: 4 kB / 352.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.3802, allocations: 4 kB / 352.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.3806, allocations: 116.8 kB / 353 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.3812, allocations: 123.9 kB / 353.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.3839, allocations: 2.189 MB / 355.3 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.3845, allocations: 36.03 kB / 355.4 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.3845, allocations: 24 kB / 355.4 MB, free: 5.777 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 (59): * Single equations (assignments): 58 * 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.0008497/0.3854, allocations: 449.5 kB / 355.8 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.3856, allocations: 71.16 kB / 355.9 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3858, allocations: 99.02 kB / 356 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3858, allocations: 4 kB / 356 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.3859, allocations: 0 / 356 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3859, allocations: 0 / 356 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/0.3901, allocations: 2.02 MB / 358 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3901, allocations: 0 / 358 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.3905, allocations: 95.88 kB / 358.1 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.3908, allocations: 96.77 kB / 358.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.3908, allocations: 20.05 kB / 358.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.3933, allocations: 2.15 MB / 360.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3933, allocations: 0 / 360.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.3954, allocations: 1.234 MB / 361.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.3958, allocations: 156.3 kB / 361.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.3959, allocations: 15.98 kB / 361.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.3964, allocations: 56.02 kB / 361.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3966, allocations: 36.38 kB / 361.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.3966, allocations: 16.25 kB / 361.9 MB, free: 15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009388/0.3975, allocations: 0.581 MB / 362.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3976, allocations: 0 / 362.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009346/0.3985, allocations: 208 kB / 362.7 MB, free: 14.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * 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.0001836/0.3987, allocations: 111.2 kB / 362.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.4002, allocations: 0.8282 MB / 363.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4002, allocations: 4 kB / 363.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.401, allocations: 488.9 kB / 364.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.4019, allocations: 167.5 kB / 364.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.4064, allocations: 2.613 MB / 366.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.4077, allocations: 1.352 MB / 368.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.4083, allocations: 185.7 kB / 368.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.4085, allocations: 51.44 kB / 368.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4085, allocations: 0 / 368.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of Templates: time 0.01984/0.4283, allocations: 9.577 MB / 378 MB, free: 14.74 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) Environment - environmentSimulation: