Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008814/0.0008814, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005839/0.005839, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.45/1.45, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004413/0.0004413, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009547/0.237, allocations: 8.954 MB / 336 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.2426, allocations: 2.699 MB / 338.7 MB, free: 7.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.2434, allocations: 55.81 kB / 338.7 MB, free: 7.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.2446, allocations: 0.5522 MB / 339.3 MB, free: 7.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.2471, allocations: 0.9606 MB / 340.3 MB, free: 6.109 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2487, allocations: 0.7405 MB / 341 MB, free: 5.367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003795/0.2525, allocations: 3.789 MB / 344.8 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.2672, allocations: 9.917 MB / 354.7 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.2703, allocations: 1.572 MB / 356.3 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.2729, allocations: 1.918 MB / 358.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005141/0.2735, allocations: 252 kB / 358.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2747, allocations: 471.7 kB / 358.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.2754, allocations: 0.7393 MB / 359.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.2772, allocations: 1.941 MB / 361.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006624/0.2839, allocations: 7.658 MB / 369.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2839, allocations: 0 / 369.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.2839, allocations: 0 / 369.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001804/0.2841, allocations: 0 / 369.2 MB, free: 8.941 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.011/0.2951, allocations: 4.23 MB / 373.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2952, allocations: 8.031 kB / 373.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.3112, allocations: 2.587 MB / 376.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.3157, allocations: 2.158 MB / 378.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.316, allocations: 341 kB / 378.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.3174, allocations: 440 kB / 379 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.3305, allocations: 6.13 MB / 385.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.3307, allocations: 7.906 kB / 385.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.3311, allocations: 184 kB / 385.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.3314, allocations: 217.2 kB / 385.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3417, allocations: 5.802 MB / 391.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.369, allocations: 21.49 MB / 412.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/0.3771, allocations: 8.974 MB / 421.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.3787, allocations: 1.02 MB / 422.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/0.3838, allocations: 3.678 MB / 426.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3839, allocations: 34.56 kB / 426.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.3839, allocations: 0 / 426.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001186/0.3851, allocations: 0.7728 MB / 427.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3851, allocations: 59.34 kB / 427.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3878, allocations: 1.99 MB / 429.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3879, allocations: 29.7 kB / 429.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.3891, allocations: 2.181 MB / 431.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.3892, allocations: 158.3 kB / 431.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.3894, allocations: 198.9 kB / 431.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3896, allocations: 345.9 kB / 432.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.3909, allocations: 0.9184 MB / 433.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.393, allocations: 2.29 MB / 435.4 MB, free: 3.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.3962, allocations: 3.141 MB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.3962, allocations: 15.94 kB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00458/0.4008, allocations: 3.207 MB / 441.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.4009, allocations: 24 kB / 441.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/0.4009, allocations: 48 kB / 441.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-05/0.401, allocations: 64 kB / 441.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.4028, allocations: 0.5895 MB / 442.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.642e-05/0.4029, allocations: 103.5 kB / 442.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.4047, allocations: 412.1 kB / 443 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.4049, allocations: 148 kB / 443.2 MB, free: 10.99 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.002322/0.4072, allocations: 1.566 MB / 444.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.4075, allocations: 130.3 kB / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4086, allocations: 0.703 MB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005265/0.4091, allocations: 414.8 kB / 446 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4091, allocations: 3.938 kB / 446 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4091, allocations: 4 kB / 446 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.4146, allocations: 4.081 MB / 450.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.4146, allocations: 8.125 kB / 450.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4148, allocations: 51.91 kB / 450.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.4148, allocations: 8 kB / 450.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.4149, allocations: 19.92 kB / 450.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.4149, allocations: 11.94 kB / 450.2 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4149, allocations: 4 kB / 450.2 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.416, allocations: 1.03 MB / 451.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.4165, allocations: 303.2 kB / 451.5 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4166, allocations: 15.94 kB / 451.5 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.4172, allocations: 43.94 kB / 451.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.4172, allocations: 27.86 kB / 451.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.4173, allocations: 19.98 kB / 451.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.4189, allocations: 1.339 MB / 452.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4189, allocations: 0 / 452.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.1725/0.5915, allocations: 0.9229 MB / 453.9 MB, free: 107.4 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.0004292/0.5919, allocations: 155.6 kB / 454 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.5954, allocations: 1.754 MB / 455.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5955, allocations: 1.344 kB / 455.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.5958, allocations: 231.4 kB / 456 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.5982, allocations: 286.4 kB / 456.3 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.6072, allocations: 7.794 MB / 464.1 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/0.6092, allocations: 2.892 MB / 466.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001618/0.6108, allocations: 0.7716 MB / 467.7 MB, free: 101.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.611, allocations: 108 kB / 467.8 MB, free: 101.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.611, allocations: 0 / 467.8 MB, free: 101.3 MB / 382.1 MB Notification: Performance of Templates: time 0.02648/0.6375, allocations: 16.94 MB / 484.8 MB, free: 88.59 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)