Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01475/0.01475, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.978/1.978, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005548/0.0005551, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3291, allocations: 47.58 MB / 327 MB, free: 1.348 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007135/0.3363, allocations: 5.397 MB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005386/0.3418, allocations: 2.086 MB / 334.5 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.343, allocations: 35.56 kB / 334.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.3444, allocations: 325.5 kB / 334.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.3472, allocations: 0.5158 MB / 335.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.3479, allocations: 192.5 kB / 335.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004087/0.352, allocations: 2.551 MB / 338.1 MB, free: 8.207 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.3543, allocations: 1.523 MB / 339.6 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003499/0.3578, allocations: 0.7829 MB / 340.4 MB, free: 5.863 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.3603, allocations: 1.015 MB / 341.4 MB, free: 4.844 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.3607, allocations: 128 kB / 341.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.3615, allocations: 223.8 kB / 341.8 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006518/0.3622, allocations: 0.5293 MB / 342.3 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.3637, allocations: 1.032 MB / 343.4 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.368, allocations: 3.546 MB / 346.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3681, allocations: 4 kB / 346.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3681, allocations: 0 / 346.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.3682, allocations: 0 / 346.9 MB, free: 15.36 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005228/0.3734, allocations: 2.01 MB / 348.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.3735, allocations: 8.031 kB / 348.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3747, allocations: 250.4 kB / 349.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.3772, allocations: 1.232 MB / 350.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.3773, allocations: 135.5 kB / 350.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.3776, allocations: 172 kB / 350.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/0.382, allocations: 2.551 MB / 353.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.3821, allocations: 3.984 kB / 353.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.3823, allocations: 72 kB / 353.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3824, allocations: 99.58 kB / 353.4 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.3858, allocations: 2.114 MB / 355.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.3965, allocations: 7.527 MB / 363.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.3979, allocations: 1.267 MB / 364.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.3986, allocations: 486.9 kB / 364.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.3988, allocations: 109.5 kB / 364.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3989, allocations: 39 kB / 364.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.424e-06/0.3989, allocations: 0 / 364.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004059/0.403, allocations: 2.3 MB / 367.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.403, allocations: 85.48 kB / 367.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.405, allocations: 1.512 MB / 368.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.4051, allocations: 33.7 kB / 368.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.4057, allocations: 0.9711 MB / 369.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.4059, allocations: 201.3 kB / 370 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.406, allocations: 105.7 kB / 370.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4062, allocations: 357.9 kB / 370.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.4069, allocations: 462.3 kB / 370.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.408, allocations: 1.098 MB / 372 MB, free: 5.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.4099, allocations: 1.631 MB / 373.7 MB, free: 3.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.41, allocations: 12 kB / 373.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002723/0.4127, allocations: 1.691 MB / 375.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4127, allocations: 20.03 kB / 375.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.4128, allocations: 20 kB / 375.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.4135, allocations: 180.6 kB / 375.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.4144, allocations: 291.6 kB / 375.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.4169, allocations: 2.158 MB / 378 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4179, allocations: 87.67 kB / 378.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.418, allocations: 67.98 kB / 378.2 MB, free: 14.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001157/0.4192, allocations: 0.7001 MB / 378.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.4194, allocations: 134.5 kB / 379 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.4209, allocations: 0.8491 MB / 379.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4209, allocations: 15.94 kB / 379.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4209, allocations: 0 / 379.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4209, allocations: 3.984 kB / 379.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.4247, allocations: 2.529 MB / 382.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4247, allocations: 4.344 kB / 382.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.4251, allocations: 99.88 kB / 382.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000718/0.4258, allocations: 156.6 kB / 382.7 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.4258, allocations: 11.98 kB / 382.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.4279, allocations: 2.1 MB / 384.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4279, allocations: 8.062 kB / 384.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.4298, allocations: 1.332 MB / 386.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.4303, allocations: 287.5 kB / 386.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.4305, allocations: 16 kB / 386.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.431, allocations: 56.02 kB / 386.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4311, allocations: 55.86 kB / 386.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.4312, allocations: 16 kB / 386.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.4326, allocations: 1.036 MB / 387.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4326, allocations: 4 kB / 387.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001332/0.4339, allocations: 348 kB / 387.9 MB, free: 4.539 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004607/0.4344, allocations: 195.6 kB / 388.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.4363, allocations: 1.157 MB / 389.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4364, allocations: 8.125 kB / 389.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.4371, allocations: 0.5104 MB / 389.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.4393, allocations: 356.5 kB / 390.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.4452, allocations: 3.972 MB / 394.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4466, allocations: 1.702 MB / 395.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.4477, allocations: 323.2 kB / 396.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.4479, allocations: 95.42 kB / 396.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4479, allocations: 0 / 396.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Templates: time 0.03469/0.4826, allocations: 17.6 MB / 413.8 MB, free: 10.46 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)