Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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.001486/0.001486, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001739/0.001739, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.403/1.403, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001297/0.001297, allocations: 47.92 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09632, allocations: 46.63 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01034/0.1067, allocations: 9.584 MB / 337 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.112, allocations: 2.711 MB / 339.7 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.1136, allocations: 55.81 kB / 339.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007713/0.1213, allocations: 3.573 MB / 343.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004806/0.1261, allocations: 0.9528 MB / 344.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.1289, allocations: 0.7521 MB / 345.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004435/0.1333, allocations: 3.879 MB / 348.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.1458, allocations: 11.13 MB / 360.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.1488, allocations: 2.24 MB / 362.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.1524, allocations: 2.566 MB / 364.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.1537, allocations: 0.6055 MB / 365.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.156, allocations: 0.8162 MB / 366.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1572, allocations: 1.208 MB / 367.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.1605, allocations: 2.424 MB / 369.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.1672, allocations: 7.058 MB / 377 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1672, allocations: 0 / 377 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1673, allocations: 0 / 377 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002063/0.1675, allocations: 0 / 377 MB, free: 3.016 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.1808/0.3483, allocations: 5.174 MB / 382.2 MB, free: 48.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.223e-05/0.3484, allocations: 9.656 kB / 382.2 MB, free: 48.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.3643, allocations: 2.568 MB / 384.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/0.3707, allocations: 2.162 MB / 386.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009368/0.3717, allocations: 334.3 kB / 387.2 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/0.3742, allocations: 447.5 kB / 387.7 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.3936, allocations: 6.129 MB / 393.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/0.3939, allocations: 7.531 kB / 393.8 MB, free: 43.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.3954, allocations: 180.8 kB / 394 MB, free: 43.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003253/0.3957, allocations: 212 kB / 394.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.4089, allocations: 5.803 MB / 400 MB, free: 40.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03503/0.4439, allocations: 21.43 MB / 421.4 MB, free: 18.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/0.451, allocations: 8.979 MB / 430.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4525, allocations: 1.015 MB / 431.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005305/0.4578, allocations: 3.688 MB / 435.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4579, allocations: 30.56 kB / 435.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.4579, allocations: 4 kB / 435.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001251/0.4591, allocations: 0.7642 MB / 435.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4592, allocations: 63.39 kB / 436 MB, free: 2.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.4624, allocations: 1.982 MB / 437.9 MB, free: 344 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.4625, allocations: 33.7 kB / 438 MB, free: 304 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.4646, allocations: 2.173 MB / 440.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.4649, allocations: 158.3 kB / 440.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.4661, allocations: 0.5509 MB / 440.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4663, allocations: 349.9 kB / 441.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4679, allocations: 0.9105 MB / 442.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.4705, allocations: 2.294 MB / 444.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.4745, allocations: 3.142 MB / 447.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-05/0.4745, allocations: 15.98 kB / 447.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.006308/0.4808, allocations: 3.207 MB / 450.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.481, allocations: 31.06 kB / 450.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.4811, allocations: 48 kB / 450.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.176e-05/0.4812, allocations: 64 kB / 450.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.483, allocations: 0.5927 MB / 451.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/0.4832, allocations: 96.2 kB / 451.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.4856, allocations: 412.2 kB / 452 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/0.486, allocations: 148 kB / 452.1 MB, free: 0.7344 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.002956/0.4889, allocations: 1.566 MB / 453.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.4894, allocations: 130.3 kB / 453.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.4908, allocations: 0.7068 MB / 454.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006004/0.4914, allocations: 414.8 kB / 454.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4915, allocations: 0 / 454.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4915, allocations: 0 / 454.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008995/0.5005, allocations: 4.088 MB / 459 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.5005, allocations: 8 kB / 459 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.5008, allocations: 59.94 kB / 459.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.5009, allocations: 8 kB / 459.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.5009, allocations: 15.98 kB / 459.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.5009, allocations: 7.938 kB / 459.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.5009, allocations: 15.98 kB / 459.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.5025, allocations: 1.026 MB / 460.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.5032, allocations: 271.2 kB / 460.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.5036, allocations: 20.05 kB / 460.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.5044, allocations: 39.95 kB / 460.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.5045, allocations: 35.84 kB / 460.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.5046, allocations: 12 kB / 460.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002493/0.5071, allocations: 1.339 MB / 461.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5071, allocations: 0 / 461.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003507/0.5106, allocations: 0.9337 MB / 462.8 MB, free: 5.75 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.0004077/0.511, allocations: 157.6 kB / 463 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.5143, allocations: 1.772 MB / 464.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.5143, allocations: 0 / 464.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.5147, allocations: 229.3 kB / 465 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5169, allocations: 305.1 kB / 465.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.532, allocations: 7.642 MB / 472.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003983/0.536, allocations: 2.816 MB / 475.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.5367, allocations: 131.4 kB / 475.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5367, allocations: 0 / 475.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of Templates: time 0.06467/0.6014, allocations: 37.82 MB / 0.5016 GB, free: 2.723 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches