Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008438/0.0008439, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0009964/0.0009968, allocations: 177 kB / 17.56 MB, free: 6.18 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.471/1.471, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004419/0.0004419, allocations: 16.2 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08643, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009022/0.09548, allocations: 8.953 MB / 337.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006548/0.1021, allocations: 2.695 MB / 340 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1032, allocations: 55.88 kB / 340 MB, free: 8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.1045, allocations: 0.5522 MB / 340.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.1072, allocations: 0.9685 MB / 341.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1087, allocations: 0.7365 MB / 342.3 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.1124, allocations: 3.793 MB / 346.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.1263, allocations: 9.935 MB / 356 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.1285, allocations: 1.553 MB / 357.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.1306, allocations: 1.918 MB / 359.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.131, allocations: 252 kB / 359.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1321, allocations: 471.7 kB / 360.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.1327, allocations: 0.7471 MB / 360.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.1345, allocations: 1.941 MB / 362.9 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006718/0.1412, allocations: 7.654 MB / 370.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1412, allocations: 0 / 370.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1412, allocations: 0 / 370.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001469/0.1414, allocations: 4 kB / 370.5 MB, free: 9.297 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01013/0.1515, allocations: 4.234 MB / 374.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1516, allocations: 15.97 kB / 374.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/0.1669, allocations: 2.583 MB / 377.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.1713, allocations: 2.158 MB / 379.5 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.149/0.3203, allocations: 331.1 kB / 379.8 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.3218, allocations: 439.2 kB / 380.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.3349, allocations: 6.129 MB / 386.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.106e-05/0.335, allocations: 4.406 kB / 386.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.3354, allocations: 184.4 kB / 386.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002468/0.3357, allocations: 214.5 kB / 386.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009355/0.345, allocations: 5.803 MB / 392.6 MB, free: 42.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.3678, allocations: 21.49 MB / 414.1 MB, free: 24.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006055/0.3739, allocations: 8.979 MB / 423.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3752, allocations: 1.008 MB / 424.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004122/0.3794, allocations: 3.691 MB / 427.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.3794, allocations: 31.44 kB / 427.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.3794, allocations: 0 / 427.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009657/0.3804, allocations: 0.7642 MB / 428.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3804, allocations: 63.34 kB / 428.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.3826, allocations: 1.986 MB / 430.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3826, allocations: 33.7 kB / 430.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009471/0.3835, allocations: 2.172 MB / 432.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3837, allocations: 168.9 kB / 433 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3839, allocations: 209.5 kB / 433.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.384, allocations: 345.9 kB / 433.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3851, allocations: 0.9145 MB / 434.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3866, allocations: 2.29 MB / 436.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.3899, allocations: 3.137 MB / 439.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.3899, allocations: 16 kB / 439.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004679/0.3946, allocations: 3.2 MB / 443.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.3947, allocations: 28 kB / 443.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/0.3947, allocations: 48 kB / 443.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.203e-05/0.3948, allocations: 64 kB / 443.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.3966, allocations: 0.5965 MB / 443.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-05/0.3967, allocations: 95.64 kB / 443.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.3985, allocations: 404.6 kB / 444.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.3987, allocations: 148 kB / 444.4 MB, free: 7.504 MB / 334.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.002713/0.4014, allocations: 1.566 MB / 446 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4017, allocations: 130.2 kB / 446.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.4028, allocations: 0.7069 MB / 446.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005165/0.4034, allocations: 414.7 kB / 447.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4034, allocations: 0 / 447.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4034, allocations: 0 / 447.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/0.409, allocations: 4.085 MB / 451.3 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.409, allocations: 4 kB / 451.3 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.4093, allocations: 60.58 kB / 451.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.4093, allocations: 11.94 kB / 451.4 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4093, allocations: 20.7 kB / 451.4 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4093, allocations: 4 kB / 451.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4093, allocations: 7.938 kB / 451.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4106, allocations: 1.034 MB / 452.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.4111, allocations: 299.1 kB / 452.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.4112, allocations: 11.94 kB / 452.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.4118, allocations: 48 kB / 452.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.4119, allocations: 35.84 kB / 452.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.4119, allocations: 20 kB / 452.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.4137, allocations: 1.335 MB / 454.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4137, allocations: 0 / 454.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002472/0.4161, allocations: 0.9337 MB / 455.1 MB, free: 12.5 MB / 350.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.0002758/0.4164, allocations: 158.4 kB / 455.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.4189, allocations: 1.752 MB / 457.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4189, allocations: 0 / 457.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.4192, allocations: 231.6 kB / 457.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4215, allocations: 278.8 kB / 457.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.4325, allocations: 7.775 MB / 465.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.4352, allocations: 2.899 MB / 468.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002079/0.4373, allocations: 0.7671 MB / 469 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4375, allocations: 107.4 kB / 469.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4375, allocations: 192 / 469.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.03216/0.4697, allocations: 16.94 MB / 486 MB, free: 13.52 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)