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.001343/0.001343, allocations: 113.1 kB / 16.51 MB, free: 6.707 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.001406/0.001406, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.36/1.36, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.002216/0.002216, allocations: 51.92 kB / 279.3 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09541, allocations: 46.62 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009406/0.1049, allocations: 9.568 MB / 335.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.1098, allocations: 2.734 MB / 338.3 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.1113, allocations: 55.88 kB / 338.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007487/0.1188, allocations: 3.577 MB / 341.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.1221, allocations: 0.9645 MB / 342.9 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.124, allocations: 0.756 MB / 343.6 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004941/0.129, allocations: 3.801 MB / 347.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.1401, allocations: 8.094 MB / 355.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.1428, allocations: 1.99 MB / 357.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.1458, allocations: 2.484 MB / 360 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.1465, allocations: 464 kB / 360.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1478, allocations: 0.6639 MB / 361.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.1486, allocations: 1.052 MB / 362.2 MB, free: 492 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.1507, allocations: 2.26 MB / 364.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00622/0.157, allocations: 7.989 MB / 372.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.157, allocations: 0 / 372.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.157, allocations: 0 / 372.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.1572, allocations: 0 / 372.4 MB, free: 6.199 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.01175/0.1689, allocations: 5.178 MB / 377.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.169, allocations: 16.02 kB / 377.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1574/0.3264, allocations: 2.56 MB / 380.2 MB, free: 48.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.3311, allocations: 2.158 MB / 382.3 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.3314, allocations: 339.7 kB / 382.6 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.3326, allocations: 439.3 kB / 383.1 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.345, allocations: 6.127 MB / 389.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.3452, allocations: 5.062 kB / 389.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/0.3456, allocations: 189.1 kB / 389.4 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/0.3459, allocations: 214.6 kB / 389.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008834/0.3547, allocations: 5.809 MB / 395.4 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.3767, allocations: 21.41 MB / 416.8 MB, free: 21.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005876/0.3826, allocations: 8.996 MB / 425.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.384, allocations: 1.004 MB / 426.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004406/0.3884, allocations: 3.686 MB / 430.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3884, allocations: 38.5 kB / 430.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.3885, allocations: 0 / 430.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001079/0.3895, allocations: 0.7719 MB / 431.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3896, allocations: 55.41 kB / 431.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.3916, allocations: 1.982 MB / 433.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3917, allocations: 33.7 kB / 433.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000673/0.3924, allocations: 2.173 MB / 435.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.3925, allocations: 162.2 kB / 435.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005588/0.393, allocations: 0.5471 MB / 436.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.3931, allocations: 353.9 kB / 436.6 MB, free: 312 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3943, allocations: 0.9067 MB / 437.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.3968, allocations: 2.298 MB / 439.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.4002, allocations: 3.137 MB / 443 MB, free: 8.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.4003, allocations: 16 kB / 443 MB, free: 8.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004699/0.405, allocations: 3.211 MB / 446.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.405, allocations: 24 kB / 446.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/0.4051, allocations: 48 kB / 446.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-05/0.4052, allocations: 64 kB / 446.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.4069, allocations: 0.5927 MB / 446.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.218e-05/0.407, allocations: 95.64 kB / 447 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.409, allocations: 408.6 kB / 447.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.4092, allocations: 148 kB / 447.5 MB, free: 4.012 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.002314/0.4115, allocations: 1.566 MB / 449.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.4118, allocations: 134.2 kB / 449.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4129, allocations: 0.703 MB / 449.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005076/0.4134, allocations: 414.8 kB / 450.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4134, allocations: 0 / 450.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4134, allocations: 0 / 450.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.4189, allocations: 4.086 MB / 454.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.419, allocations: 4 kB / 454.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.4192, allocations: 60.48 kB / 454.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.4193, allocations: 8 kB / 454.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4193, allocations: 15.94 kB / 454.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/0.4193, allocations: 11.94 kB / 454.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4193, allocations: 4 kB / 454.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4207, allocations: 1.041 MB / 455.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.4211, allocations: 255.5 kB / 455.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4213, allocations: 27.77 kB / 455.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.4218, allocations: 48 kB / 455.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.4219, allocations: 27.86 kB / 455.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.4219, allocations: 27.97 kB / 456 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.4237, allocations: 1.331 MB / 457.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4237, allocations: 0 / 457.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002516/0.4262, allocations: 0.9337 MB / 458.2 MB, free: 9.027 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.0002864/0.4265, allocations: 156.3 kB / 458.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.4292, allocations: 1.752 MB / 460.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4292, allocations: 4 kB / 460.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.4295, allocations: 223.7 kB / 460.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.4312, allocations: 282.2 kB / 460.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4417, allocations: 7.732 MB / 468.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.4442, allocations: 2.896 MB / 471.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.4461, allocations: 0.7671 MB / 472 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.4464, allocations: 107.4 kB / 472.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4464, allocations: 0 / 472.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of Templates: time 0.03138/0.4778, allocations: 17.09 MB / 489.2 MB, free: 9.898 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)