Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009275/0.0009278, allocations: 90.98 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.00996/0.00996, allocations: 172 kB / 16.26 MB, free: 6.676 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.999/1.999, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0005531/0.0005534, allocations: 20 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3334, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007092/0.3405, allocations: 5.394 MB / 332.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.3463, allocations: 2.093 MB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.3472, allocations: 32.22 kB / 334.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3483, allocations: 326.4 kB / 334.9 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3501, allocations: 0.5113 MB / 335.4 MB, free: 10.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.3506, allocations: 199.4 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.3534, allocations: 2.548 MB / 338.1 MB, free: 8.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.3552, allocations: 1.519 MB / 339.6 MB, free: 6.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.3574, allocations: 0.7908 MB / 340.4 MB, free: 5.891 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.3588, allocations: 1.015 MB / 341.5 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.359, allocations: 124 kB / 341.6 MB, free: 4.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.3595, allocations: 223.8 kB / 341.8 MB, free: 4.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.36, allocations: 0.5254 MB / 342.3 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.3611, allocations: 1.036 MB / 343.4 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.3644, allocations: 3.554 MB / 346.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3644, allocations: 4 kB / 346.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3644, allocations: 0 / 346.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.3645, allocations: 0 / 346.9 MB, free: 15.39 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.003714/0.3682, allocations: 2.006 MB / 348.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3682, allocations: 8.031 kB / 348.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006567/0.3689, allocations: 250.4 kB / 349.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.3707, allocations: 1.228 MB / 350.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/0.3708, allocations: 135.5 kB / 350.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.3711, allocations: 172 kB / 350.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/0.3754, allocations: 2.551 MB / 353.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.3754, allocations: 0 / 353.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.3756, allocations: 72 kB / 353.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3757, allocations: 99.58 kB / 353.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.3793, allocations: 2.118 MB / 355.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.3906, allocations: 7.527 MB / 363.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.3921, allocations: 1.271 MB / 364.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.3929, allocations: 482.9 kB / 364.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.3931, allocations: 113.5 kB / 364.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3932, allocations: 42.98 kB / 365 MB, free: 12.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.3932, allocations: 0 / 365 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004129/0.3973, allocations: 2.296 MB / 367.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.3974, allocations: 85.55 kB / 367.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.3996, allocations: 1.512 MB / 368.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.3996, allocations: 33.7 kB / 368.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007513/0.4004, allocations: 0.9711 MB / 369.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.4006, allocations: 197.3 kB / 370 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4007, allocations: 105.7 kB / 370.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4009, allocations: 361.9 kB / 370.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.4016, allocations: 462.3 kB / 371 MB, free: 6.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.4028, allocations: 1.094 MB / 372 MB, free: 5.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.4048, allocations: 1.634 MB / 373.7 MB, free: 3.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4048, allocations: 8 kB / 373.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002759/0.4076, allocations: 1.695 MB / 375.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4076, allocations: 16 kB / 375.4 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.4076, allocations: 20 kB / 375.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/0.4085, allocations: 181.1 kB / 375.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/0.4094, allocations: 291.6 kB / 375.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.4122, allocations: 2.151 MB / 378 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4136, allocations: 95.55 kB / 378.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.4137, allocations: 64 kB / 378.2 MB, free: 14.64 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.001436/0.4151, allocations: 0.7041 MB / 378.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4154, allocations: 138.3 kB / 379 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.4168, allocations: 0.849 MB / 379.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4169, allocations: 8 kB / 379.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4169, allocations: 0 / 379.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4169, allocations: 0 / 379.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.421, allocations: 2.537 MB / 382.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.4211, allocations: 8.062 kB / 382.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.4214, allocations: 95.88 kB / 382.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006608/0.4221, allocations: 161 kB / 382.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4222, allocations: 12 kB / 382.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.4243, allocations: 2.1 MB / 384.8 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4243, allocations: 4.031 kB / 384.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.4264, allocations: 1.34 MB / 386.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.4269, allocations: 283.4 kB / 386.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4271, allocations: 16 kB / 386.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.4277, allocations: 52.03 kB / 386.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.4278, allocations: 47.88 kB / 386.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.4278, allocations: 20.17 kB / 386.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.4293, allocations: 1.036 MB / 387.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4293, allocations: 7.938 kB / 387.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001413/0.4308, allocations: 352 kB / 387.9 MB, free: 4.562 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.0004571/0.4312, allocations: 187.5 kB / 388.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4332, allocations: 1.159 MB / 389.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4332, allocations: 6 kB / 389.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.434, allocations: 0.5182 MB / 389.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.4359, allocations: 360.5 kB / 390.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.4418, allocations: 3.968 MB / 394.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.4432, allocations: 1.694 MB / 395.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001028/0.4442, allocations: 327.2 kB / 396.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.4444, allocations: 87.44 kB / 396.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4444, allocations: 0 / 396.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Templates: time 0.03273/0.4772, allocations: 17.61 MB / 413.8 MB, free: 10.49 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)