Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, 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.001148/0.001148, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.73 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.001372/0.001372, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01058/0.2413, allocations: 9.579 MB / 334.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.247, allocations: 2.727 MB / 337 MB, free: 7.816 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.2491, allocations: 59.81 kB / 337 MB, free: 7.758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007292/0.2564, allocations: 3.573 MB / 340.6 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.2597, allocations: 0.9723 MB / 341.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.2617, allocations: 0.7527 MB / 342.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.2657, allocations: 3.793 MB / 346.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.276, allocations: 8.091 MB / 354.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.2788, allocations: 1.994 MB / 356.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.2826, allocations: 2.48 MB / 358.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.284, allocations: 468 kB / 359.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.2865, allocations: 0.6755 MB / 359.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.2881, allocations: 1.044 MB / 360.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.2921, allocations: 2.256 MB / 363.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007581/0.2997, allocations: 7.989 MB / 371.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2997, allocations: 0 / 371.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2997, allocations: 0 / 371.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002402/0.2999, allocations: 4 kB / 371.1 MB, free: 5.508 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01266/0.3126, allocations: 5.174 MB / 376.3 MB, free: 272 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3127, allocations: 8.031 kB / 376.3 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.327, allocations: 2.567 MB / 378.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.3309, allocations: 2.162 MB / 381 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.3312, allocations: 341 kB / 381.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.3319, allocations: 443.9 kB / 381.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00942/0.3414, allocations: 6.13 MB / 387.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-05/0.3414, allocations: 0 / 387.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.3419, allocations: 180 kB / 388.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.342, allocations: 217.3 kB / 388.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008886/0.3509, allocations: 5.806 MB / 394.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.3778, allocations: 21.42 MB / 415.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008159/0.3859, allocations: 8.997 MB / 424.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3876, allocations: 1.008 MB / 425.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005358/0.3929, allocations: 3.682 MB / 429.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.393, allocations: 46.5 kB / 429.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.393, allocations: 0 / 429.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001128/0.3941, allocations: 0.7651 MB / 430 MB, free: 8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3942, allocations: 59.34 kB / 430.1 MB, free: 7.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.3965, allocations: 1.982 MB / 432.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3966, allocations: 29.7 kB / 432.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.3977, allocations: 2.181 MB / 434.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3979, allocations: 162.2 kB / 434.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000686/0.3986, allocations: 0.5509 MB / 435 MB, free: 2.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3987, allocations: 353.9 kB / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.3999, allocations: 0.9106 MB / 436.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.4019, allocations: 2.286 MB / 438.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.405, allocations: 3.153 MB / 441.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.405, allocations: 12 kB / 441.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004517/0.4095, allocations: 3.2 MB / 444.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.4096, allocations: 24.19 kB / 444.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-05/0.4097, allocations: 52 kB / 445 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.47e-05/0.4097, allocations: 68 kB / 445 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4114, allocations: 0.5849 MB / 445.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.6e-05/0.4115, allocations: 107.5 kB / 445.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.4133, allocations: 400.2 kB / 446.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4135, allocations: 152 kB / 446.3 MB, free: 6.324 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002176/0.4156, allocations: 1.566 MB / 447.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.4159, allocations: 130.3 kB / 448 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.417, allocations: 0.7108 MB / 448.7 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005192/0.4175, allocations: 406.8 kB / 449.1 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4176, allocations: 7.938 kB / 449.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4176, allocations: 3.938 kB / 449.1 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/0.6023, allocations: 4.072 MB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.6024, allocations: 4.719 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.6028, allocations: 60.09 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/0.6028, allocations: 6.031 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.6028, allocations: 19.56 kB / 453.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.6029, allocations: 13.94 kB / 453.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.6029, allocations: 5.188 kB / 453.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.6045, allocations: 1.031 MB / 454.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.605, allocations: 264.8 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6051, allocations: 14.66 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.6057, allocations: 48.42 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.6058, allocations: 38 kB / 454.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.6058, allocations: 11.22 kB / 454.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001775/0.6076, allocations: 1.34 MB / 456 MB, free: 107 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6076, allocations: 0 / 456 MB, free: 107 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00292/0.6105, allocations: 0.9301 MB / 456.9 MB, free: 106.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002982/0.6108, allocations: 158 kB / 457.1 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.6135, allocations: 1.758 MB / 458.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6135, allocations: 0 / 458.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.6138, allocations: 233.3 kB / 459.1 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.6153, allocations: 277.7 kB / 459.3 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/0.625, allocations: 7.725 MB / 467.1 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/0.6269, allocations: 2.896 MB / 470 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00183/0.6288, allocations: 0.7726 MB / 470.7 MB, free: 100 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.629, allocations: 106.3 kB / 470.8 MB, free: 100 MB / 382.1 MB Notification: Performance of SimCode: time 2.274e-06/0.629, allocations: 1.859 kB / 470.8 MB, free: 100 MB / 382.1 MB Notification: Performance of Templates: time 0.02904/0.6581, allocations: 17.1 MB / 487.9 MB, free: 84.57 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)