Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008126, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.491e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08299, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4023, allocations: 88.95 MB / 452 MB, free: 6.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4026, allocations: 77.14 kB / 452.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4998/0.9024, allocations: 154.8 MB / 0.5927 GB, free: 90.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.9024, allocations: 3.828 kB / 0.5927 GB, free: 90.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.9027, allocations: 99.12 kB / 0.5928 GB, free: 90.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01562/0.9183, allocations: 4.212 MB / 0.5969 GB, free: 87.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9184, allocations: 6.719 kB / 0.5969 GB, free: 87.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009665/0.9281, allocations: 1.691 MB / 0.5985 GB, free: 87.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00571/0.9338, allocations: 2.689 MB / 0.6011 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.9343, allocations: 154.2 kB / 0.6013 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.936, allocations: 261.9 kB / 0.6015 GB, free: 85.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01251/0.9485, allocations: 5.56 MB / 0.607 GB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.9654, allocations: 6.759 MB / 0.6136 GB, free: 72.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002174/0.9656, allocations: 15.89 kB / 0.6136 GB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/0.9673, allocations: 4 kB / 0.6136 GB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003479/0.9677, allocations: 297.4 kB / 0.6139 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04051/1.008, allocations: 22.35 MB / 0.6357 GB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/1.015, allocations: 6.393 MB / 0.6419 GB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00449/1.02, allocations: 3.216 MB / 0.6451 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01735/1.037, allocations: 10.82 MB / 0.6556 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.037, allocations: 56.56 kB / 0.6557 GB, free: 28.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 5.44e-06/1.037, allocations: 0 / 0.6557 GB, free: 28.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.007625/1.045, allocations: 5.278 MB / 0.6609 GB, free: 23.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.045, allocations: 73.41 kB / 0.6609 GB, free: 23.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.046, allocations: 1.005 MB / 0.6619 GB, free: 22.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.047, allocations: 25.7 kB / 0.6619 GB, free: 22.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000753/1.047, allocations: 1.676 MB / 0.6636 GB, free: 20.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009611/1.048, allocations: 1.02 MB / 0.6646 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.049, allocations: 0 / 0.6646 GB, free: 19.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/1.049, allocations: 0.5022 MB / 0.6651 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/1.052, allocations: 2.157 MB / 0.6672 GB, free: 16.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/1.055, allocations: 2.841 MB / 0.6699 GB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004736/1.06, allocations: 3.008 MB / 0.6729 GB, free: 10.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/1.06, allocations: 8 kB / 0.6729 GB, free: 10.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01025/1.07, allocations: 6.383 MB / 0.6791 GB, free: 4.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/1.07, allocations: 12.12 kB / 0.6791 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/1.07, allocations: 31.89 kB / 0.6792 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.072, allocations: 1.397 MB / 0.6805 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.074, allocations: 0.5258 MB / 0.681 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2585/1.333, allocations: 5.273 MB / 0.6862 GB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.335, allocations: 326.6 kB / 0.6865 GB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/1.336, allocations: 140.8 kB / 0.6866 GB, free: 85.48 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007266/1.337, allocations: 233.8 kB / 0.6869 GB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.337, allocations: 171.1 kB / 0.687 GB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/1.347, allocations: 5.647 MB / 0.6925 GB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008946/1.356, allocations: 5.238 MB / 0.6976 GB, free: 84.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.356, allocations: 2.562 kB / 0.6977 GB, free: 84.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.356, allocations: 7.594 kB / 0.6977 GB, free: 84.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/1.372, allocations: 10.35 MB / 0.7078 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.372, allocations: 0 / 0.7078 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.373, allocations: 285.8 kB / 0.708 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/1.375, allocations: 1.381 MB / 0.7094 GB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/1.375, allocations: 44.02 kB / 0.7094 GB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/1.38, allocations: 5.25 MB / 0.7146 GB, free: 82.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.38, allocations: 3.875 kB / 0.7146 GB, free: 82.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.39, allocations: 8.613 MB / 0.723 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.391, allocations: 0.7369 MB / 0.7237 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/1.391, allocations: 5.969 kB / 0.7237 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/1.392, allocations: 65.5 kB / 0.7238 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/1.393, allocations: 235 kB / 0.724 GB, free: 80 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.393, allocations: 85.5 kB / 0.7241 GB, free: 79.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009421/1.394, allocations: 0.7248 MB / 0.7248 GB, free: 79.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.394, allocations: 0 / 0.7248 GB, free: 79.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003073/1.397, allocations: 0.9997 MB / 0.7257 GB, free: 79.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004672/1.397, allocations: 174.1 kB / 0.7259 GB, free: 79.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006443/1.404, allocations: 5.02 MB / 0.7308 GB, free: 77.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.404, allocations: 0 / 0.7308 GB, free: 77.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/1.407, allocations: 2.418 MB / 0.7332 GB, free: 76.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/1.409, allocations: 273.1 kB / 0.7334 GB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.422, allocations: 8.28 MB / 0.7415 GB, free: 73.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/1.425, allocations: 3.331 MB / 0.7448 GB, free: 71.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001817/1.427, allocations: 0.5924 MB / 0.7454 GB, free: 71.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/1.427, allocations: 119.4 kB / 0.7455 GB, free: 71.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.427, allocations: 0 / 0.7455 GB, free: 71.9 MB / 410.7 MB Notification: Performance of Templates: time 0.05506/1.482, allocations: 41.73 MB / 0.7862 GB, free: 41 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches