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.009175/0.009175, allocations: 102 kB / 15.73 MB, free: 6.051 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.001297/0.001297, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001414/0.001414, allocations: 51.92 kB / 326.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005145/0.1309, allocations: 3.711 MB / 376.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1942/0.3251, allocations: 1.009 MB / 377.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.3256, allocations: 21.09 kB / 377.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.326, allocations: 154.2 kB / 378 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008296/0.3269, allocations: 280.5 kB / 378.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.3272, allocations: 137.8 kB / 378.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.3284, allocations: 1.418 MB / 379.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.3298, allocations: 1.116 MB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009623/0.3308, allocations: 0.6232 MB / 381.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009885/0.3318, allocations: 0.7505 MB / 382.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.332, allocations: 155.8 kB / 382.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.3322, allocations: 156.8 kB / 382.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.3327, allocations: 462.5 kB / 383.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007185/0.3334, allocations: 0.7258 MB / 383.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.3355, allocations: 2.032 MB / 385.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3355, allocations: 0 / 385.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3355, allocations: 0.75 kB / 385.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.528e-05/0.3356, allocations: 4.844 kB / 385.9 MB, free: 7.531 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00312/0.3387, allocations: 1.655 MB / 387.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3388, allocations: 9.312 kB / 387.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3391, allocations: 142.8 kB / 387.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3405, allocations: 0.8176 MB / 388.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.3406, allocations: 83.25 kB / 388.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3408, allocations: 111.5 kB / 388.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.3437, allocations: 1.542 MB / 390.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3437, allocations: 3.938 kB / 390.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3438, allocations: 46.81 kB / 390.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.3438, allocations: 26.56 kB / 390.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3461, allocations: 1.309 MB / 391.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006412/0.3526, allocations: 4.159 MB / 395.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.3535, allocations: 1.314 MB / 397.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.3541, allocations: 452.1 kB / 397.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.3542, allocations: 8.969 kB / 397.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3542, allocations: 42.3 kB / 397.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/0.3543, allocations: 0 / 397.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.00314/0.3574, allocations: 1.94 MB / 399.5 MB, free: 0 / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.3575, allocations: 57.62 kB / 399.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3587, allocations: 0.8214 MB / 400.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.3587, allocations: 32.23 kB / 400.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.3591, allocations: 0.5367 MB / 401 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3593, allocations: 174.2 kB / 401.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.3594, allocations: 106.8 kB / 401.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3596, allocations: 388 kB / 401.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.3601, allocations: 308.1 kB / 401.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.3606, allocations: 405.2 kB / 402.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.3616, allocations: 0.6992 MB / 403 MB, free: 13.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3616, allocations: 0 / 403 MB, free: 13.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001557/0.3632, allocations: 0.9144 MB / 403.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3632, allocations: 6.094 kB / 403.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3632, allocations: 3.375 kB / 403.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.3636, allocations: 116.7 kB / 404.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.3641, allocations: 124.3 kB / 404.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3666, allocations: 2.37 MB / 406.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.3671, allocations: 28.31 kB / 406.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.3672, allocations: 28.25 kB / 406.6 MB, free: 10.83 MB / 334.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.0007277/0.3679, allocations: 460.3 kB / 407.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3681, allocations: 77.53 kB / 407.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.3682, allocations: 91.69 kB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3682, allocations: 6.781 kB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.3682, allocations: 2.219 kB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3682, allocations: 0 / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.3717, allocations: 2.015 MB / 409.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3717, allocations: 1.719 kB / 409.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3721, allocations: 87.41 kB / 409.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.3724, allocations: 104.7 kB / 409.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.3724, allocations: 21.67 kB / 409.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.3749, allocations: 2.324 MB / 411.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3749, allocations: 1.375 kB / 411.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3768, allocations: 1.206 MB / 413 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.3772, allocations: 160.3 kB / 413.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.3773, allocations: 15.98 kB / 413.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.3778, allocations: 47.95 kB / 413.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3779, allocations: 44.25 kB / 413.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.378, allocations: 16 kB / 413.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009621/0.3789, allocations: 0.5888 MB / 413.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.379, allocations: 0 / 413.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001171/0.3801, allocations: 212 kB / 414.1 MB, free: 4.672 MB / 334.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.0002112/0.3803, allocations: 107.2 kB / 414.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.3819, allocations: 0.8209 MB / 415 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3819, allocations: 4 kB / 415 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.3828, allocations: 0.4903 MB / 415.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3839, allocations: 184.8 kB / 415.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.3885, allocations: 2.189 MB / 417.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.3897, allocations: 1.344 MB / 419.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005522/0.3903, allocations: 177.8 kB / 419.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3904, allocations: 51.44 kB / 419.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3904, allocations: 0 / 419.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Templates: time 0.02038/0.4108, allocations: 10.58 MB / 430 MB, free: 4.637 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (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)