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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001462/0.001462, allocations: 189.3 kB / 16.13 MB, free: 6.668 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.793/1.793, allocations: 205.1 MB / 222 MB, free: 4.738 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.001339/0.001339, allocations: 43.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3236, allocations: 46.62 MB / 324.7 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008269/0.3319, allocations: 5.854 MB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.3371, allocations: 2.111 MB / 332.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3383, allocations: 31.56 kB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.3396, allocations: 329.1 kB / 333 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.3418, allocations: 0.5147 MB / 333.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.3424, allocations: 200.7 kB / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.3452, allocations: 2.544 MB / 336.2 MB, free: 8.703 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.3471, allocations: 1.547 MB / 337.8 MB, free: 7.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.3499, allocations: 0.8888 MB / 338.7 MB, free: 6.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.3518, allocations: 1.148 MB / 339.8 MB, free: 5.078 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.3521, allocations: 176 kB / 340 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007933/0.3529, allocations: 275.8 kB / 340.3 MB, free: 4.637 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.3535, allocations: 0.5918 MB / 340.9 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.3551, allocations: 1.104 MB / 342 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.3588, allocations: 3.665 MB / 345.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3588, allocations: 0 / 345.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3588, allocations: 0 / 345.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.3589, allocations: 0 / 345.6 MB, free: 15.26 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.005029/0.3639, allocations: 2.373 MB / 348 MB, free: 12.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.364, allocations: 8.031 kB / 348 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.3647, allocations: 254.3 kB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.3668, allocations: 1.22 MB / 349.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3669, allocations: 139.5 kB / 349.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.3672, allocations: 168 kB / 349.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.3715, allocations: 2.551 MB / 352.3 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.3716, allocations: 0 / 352.3 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.3718, allocations: 75.97 kB / 352.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3719, allocations: 95.59 kB / 352.5 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.3754, allocations: 2.106 MB / 354.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.3869, allocations: 7.464 MB / 362.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3887, allocations: 1.255 MB / 363.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/0.3895, allocations: 479 kB / 363.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.3898, allocations: 117.5 kB / 363.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.3899, allocations: 39 kB / 363.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 4.588e-06/0.3899, allocations: 0 / 363.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.005474/0.3954, allocations: 2.261 MB / 366.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.3955, allocations: 89.55 kB / 366.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.3982, allocations: 1.504 MB / 367.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.3983, allocations: 41.64 kB / 367.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.3991, allocations: 0.9711 MB / 368.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.3993, allocations: 193.4 kB / 369 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.3997, allocations: 242.6 kB / 369.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3999, allocations: 357.9 kB / 369.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/0.4007, allocations: 462.3 kB / 370 MB, free: 6.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.4022, allocations: 1.09 MB / 371.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.4046, allocations: 1.619 MB / 372.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4046, allocations: 4 kB / 372.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003075/0.4077, allocations: 1.694 MB / 374.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.4078, allocations: 12 kB / 374.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.4078, allocations: 24 kB / 374.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.4087, allocations: 181.2 kB / 374.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.4095, allocations: 283.5 kB / 374.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.4121, allocations: 2.15 MB / 377.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4134, allocations: 83.73 kB / 377.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4135, allocations: 68 kB / 377.2 MB, free: 14.19 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.001528/0.4151, allocations: 0.7085 MB / 377.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.4154, allocations: 134.3 kB / 378.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.417, allocations: 0.8412 MB / 378.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.417, allocations: 4.188 kB / 378.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4171, allocations: 0 / 378.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4171, allocations: 7.938 kB / 378.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.4217, allocations: 2.521 MB / 381.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4218, allocations: 4 kB / 381.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.4221, allocations: 91.88 kB / 381.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.4228, allocations: 149 kB / 381.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.4229, allocations: 16 kB / 381.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.4251, allocations: 2.1 MB / 383.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4252, allocations: 4.031 kB / 383.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.4272, allocations: 1.312 MB / 385.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.4278, allocations: 279.5 kB / 385.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.4279, allocations: 15.98 kB / 385.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.4285, allocations: 48.03 kB / 385.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.4286, allocations: 51.81 kB / 385.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.4287, allocations: 20 kB / 385.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.4302, allocations: 1.036 MB / 386.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4302, allocations: 0 / 386.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001468/0.4317, allocations: 356 kB / 386.9 MB, free: 4.184 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.0004829/0.4322, allocations: 187 kB / 387.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.4342, allocations: 1.157 MB / 388.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4342, allocations: 4.062 kB / 388.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.435, allocations: 0.5098 MB / 388.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.4366, allocations: 350.2 kB / 389.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.4436, allocations: 3.932 MB / 393 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.445, allocations: 1.702 MB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.4461, allocations: 323.2 kB / 395.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.4464, allocations: 87.44 kB / 395.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.295e-06/0.4464, allocations: 0 / 395.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Templates: time 0.0323/0.4787, allocations: 17.78 MB / 412.9 MB, free: 10 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)