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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00096/0.00096, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 102.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007688/0.0007688, allocations: 39.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1965, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.00759/0.2041, allocations: 9.587 MB / 383.4 MB, free: 38.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.2084, allocations: 2.733 MB / 386.1 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.2097, allocations: 56.62 kB / 386.2 MB, free: 35.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005943/0.2157, allocations: 3.579 MB / 389.8 MB, free: 33.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.2189, allocations: 0.9589 MB / 390.7 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2204, allocations: 0.7575 MB / 391.5 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.2235, allocations: 3.859 MB / 395.4 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007552/0.231, allocations: 8.098 MB / 403.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.233, allocations: 2.01 MB / 405.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.2355, allocations: 2.468 MB / 407.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009268/0.2364, allocations: 468 kB / 408.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.238, allocations: 0.6677 MB / 409.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.2386, allocations: 1.052 MB / 410.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.2402, allocations: 2.26 MB / 412.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.2442, allocations: 7.985 MB / 420.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2442, allocations: 0 / 420.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2442, allocations: 0 / 420.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.616e-05/0.2443, allocations: 0 / 420.3 MB, free: 2.801 MB / 298.7 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.009295/0.2536, allocations: 5.182 MB / 425.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2537, allocations: 12.03 kB / 425.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.2669, allocations: 2.567 MB / 428.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.2715, allocations: 2.162 MB / 430.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.2717, allocations: 337.1 kB / 430.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008015/0.2725, allocations: 443.9 kB / 431 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009019/0.2816, allocations: 6.122 MB / 437.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.921e-05/0.2816, allocations: 0 / 437.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.282, allocations: 188 kB / 437.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.2822, allocations: 221.3 kB / 437.6 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008037/0.2902, allocations: 5.806 MB / 443.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/0.3153, allocations: 21.4 MB / 464.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007733/0.3231, allocations: 9.001 MB / 473.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.3246, allocations: 1.019 MB / 474.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005378/0.3299, allocations: 3.678 MB / 478.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.33, allocations: 42.56 kB / 478.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.33, allocations: 0 / 478.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.00104/0.331, allocations: 0.765 MB / 479.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3311, allocations: 63.28 kB / 479.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3333, allocations: 1.983 MB / 481.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3334, allocations: 33.64 kB / 481.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.3344, allocations: 2.177 MB / 483.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3345, allocations: 170.2 kB / 483.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/0.3352, allocations: 0.547 MB / 484.2 MB, free: 256 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3353, allocations: 349.9 kB / 484.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3364, allocations: 0.9145 MB / 485.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.3383, allocations: 2.29 MB / 487.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.3412, allocations: 3.145 MB / 490.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/0.3412, allocations: 12 kB / 490.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00401/0.3452, allocations: 3.203 MB / 494.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.3453, allocations: 24 kB / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/0.3453, allocations: 48 kB / 494.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.025e-05/0.3454, allocations: 68 kB / 494.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.347, allocations: 0.5849 MB / 494.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.849e-05/0.3471, allocations: 107.5 kB / 495 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.3487, allocations: 408.6 kB / 495.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.3489, allocations: 148 kB / 495.5 MB, free: 3.605 MB / 378.7 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.001974/0.3509, allocations: 1.558 MB / 497.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.351, allocations: 130.3 kB / 497.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/0.352, allocations: 0.7077 MB / 497.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004678/0.3525, allocations: 410.8 kB / 498.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3525, allocations: 3.938 kB / 498.3 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3525, allocations: 7.984 kB / 498.3 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.3574, allocations: 4.073 MB / 0.4906 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3575, allocations: 7.984 kB / 0.4906 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3577, allocations: 52.5 kB / 0.4907 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.3577, allocations: 12 kB / 0.4907 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.3577, allocations: 15.94 kB / 0.4907 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.3578, allocations: 7.938 kB / 0.4907 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3578, allocations: 11.98 kB / 0.4907 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3609, allocations: 3.28 MB / 0.4939 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.3613, allocations: 267.2 kB / 0.4942 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.3615, allocations: 12 kB / 0.4942 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.362, allocations: 43.94 kB / 0.4942 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.362, allocations: 39.88 kB / 0.4943 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.3621, allocations: 16 kB / 0.4943 GB, free: 8.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001442/0.3635, allocations: 1.339 MB / 0.4956 GB, free: 7.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3635, allocations: 0 / 0.4956 GB, free: 7.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002222/0.3658, allocations: 1.034 MB / 0.4966 GB, free: 6.141 MB / 394.7 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.0002199/0.366, allocations: 167.1 kB / 0.4968 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.368, allocations: 1.75 MB / 0.4985 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.368, allocations: 2 kB / 0.4985 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3683, allocations: 228.8 kB / 0.4987 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.3696, allocations: 289.7 kB / 0.499 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1361/0.5057, allocations: 7.979 MB / 0.5068 GB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.5079, allocations: 2.9 MB / 0.5096 GB, free: 117.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001778/0.5097, allocations: 0.7753 MB / 0.5103 GB, free: 117.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.5099, allocations: 105.6 kB / 0.5104 GB, free: 117.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5099, allocations: 0 / 0.5104 GB, free: 117.4 MB / 394.7 MB Notification: Performance of Templates: time 0.02324/0.5331, allocations: 17.54 MB / 0.5276 GB, free: 106.9 MB / 394.7 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@2/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