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.001193/0.001193, allocations: 118.7 kB / 17.28 MB, free: 6.219 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.001034/0.001034, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.339/1.339, allocations: 205.1 MB / 224 MB, free: 12.36 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.00118/0.00118, allocations: 47.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09401, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01021/0.1043, allocations: 9.584 MB / 336.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.11, allocations: 2.707 MB / 339.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.1113, allocations: 55.88 kB / 339.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00897/0.1203, allocations: 3.573 MB / 342.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.124, allocations: 0.9644 MB / 343.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.126, allocations: 0.7443 MB / 344.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.1302, allocations: 3.876 MB / 348.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.1423, allocations: 11.12 MB / 359.4 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.1452, allocations: 2.244 MB / 361.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.1483, allocations: 2.558 MB / 364.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007714/0.1491, allocations: 0.6093 MB / 364.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1505, allocations: 0.8201 MB / 365.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008815/0.1513, allocations: 1.204 MB / 366.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.1538, allocations: 2.424 MB / 369.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.1603, allocations: 8.086 MB / 377.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1603, allocations: 0 / 377.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1604, allocations: 0 / 377.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001444/0.1605, allocations: 0 / 377.4 MB, free: 1.98 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.1812/0.3418, allocations: 5.184 MB / 382.5 MB, free: 49.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3418, allocations: 9.969 kB / 382.6 MB, free: 49.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.3565, allocations: 2.569 MB / 385.1 MB, free: 48.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.361, allocations: 2.158 MB / 387.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.3614, allocations: 343.9 kB / 387.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.3628, allocations: 443.8 kB / 388 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.3762, allocations: 6.128 MB / 394.2 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.3763, allocations: 1.625 kB / 394.2 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/0.3768, allocations: 185 kB / 394.4 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.377, allocations: 216.4 kB / 394.6 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007796/0.3848, allocations: 5.801 MB / 400.4 MB, free: 39.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.4059, allocations: 21.43 MB / 421.8 MB, free: 17.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006282/0.4122, allocations: 8.983 MB / 430.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4135, allocations: 1.011 MB / 431.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004186/0.4177, allocations: 3.686 MB / 435.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4177, allocations: 38.56 kB / 435.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.4178, allocations: 0 / 435.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001043/0.4188, allocations: 0.7719 MB / 436.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.4188, allocations: 55.41 kB / 436.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.421, allocations: 1.979 MB / 438.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.4211, allocations: 33.7 kB / 438.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4224, allocations: 2.169 MB / 440.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.4226, allocations: 162.3 kB / 440.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/0.4234, allocations: 0.5548 MB / 441.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4235, allocations: 349.9 kB / 441.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.4249, allocations: 0.9145 MB / 442.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.427, allocations: 2.285 MB / 444.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/0.4302, allocations: 3.145 MB / 447.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/0.4302, allocations: 12 kB / 447.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004661/0.4349, allocations: 3.207 MB / 451.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.435, allocations: 28.09 kB / 451.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.591e-05/0.435, allocations: 48 kB / 451.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-05/0.4351, allocations: 68 kB / 451.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4368, allocations: 0.5927 MB / 451.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.97e-05/0.4369, allocations: 95.64 kB / 452 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.4388, allocations: 412.1 kB / 452.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.439, allocations: 148 kB / 452.5 MB, free: 15.96 MB / 350.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.0022/0.4412, allocations: 1.57 MB / 454.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.4414, allocations: 126.3 kB / 454.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4425, allocations: 0.7068 MB / 454.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004763/0.443, allocations: 414.8 kB / 455.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.443, allocations: 0 / 455.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.443, allocations: 3.984 kB / 455.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/0.4492, allocations: 4.095 MB / 459.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4492, allocations: 8 kB / 459.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.4494, allocations: 51.91 kB / 459.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4495, allocations: 8 kB / 459.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4495, allocations: 12 kB / 459.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.4495, allocations: 11.92 kB / 459.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.4495, allocations: 8 kB / 459.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4507, allocations: 1.038 MB / 460.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.4512, allocations: 267.2 kB / 460.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.4514, allocations: 12 kB / 460.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.452, allocations: 43.94 kB / 460.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.4521, allocations: 39.91 kB / 460.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4521, allocations: 16 kB / 460.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001757/0.4539, allocations: 1.331 MB / 462.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4539, allocations: 0 / 462.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002364/0.4563, allocations: 0.9272 MB / 463.2 MB, free: 4.98 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.000289/0.4566, allocations: 164.3 kB / 463.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.4589, allocations: 1.761 MB / 465.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4589, allocations: 5.875 kB / 465.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.4592, allocations: 232.7 kB / 465.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.4607, allocations: 297 kB / 465.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4715, allocations: 7.754 MB / 473.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/0.4746, allocations: 2.892 MB / 476.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001921/0.4766, allocations: 0.7749 MB / 477.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.4768, allocations: 107.4 kB / 477.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4769, allocations: 0 / 477.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of Templates: time 0.0324/0.5093, allocations: 17.65 MB / 494.8 MB, free: 5.223 MB / 382.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/jenkins/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