Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001472/0.001471, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 88.88 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.671e-05, allocations: 0 / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3361, allocations: 47.58 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4789, allocations: 88.64 MB / 451 MB, free: 13.66 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.4793, allocations: 80.7 kB / 451.1 MB, free: 13.59 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7062/1.185, allocations: 139.8 MB / 0.577 GB, free: 65.49 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.384e-06/1.185, allocations: 4 kB / 0.577 GB, free: 65.49 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002041/1.186, allocations: 87.94 kB / 0.5771 GB, free: 65.4 MB / 395.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.01795/1.204, allocations: 3.873 MB / 0.5809 GB, free: 61.47 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.204, allocations: 12.03 kB / 0.5809 GB, free: 61.46 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/1.219, allocations: 1.806 MB / 0.5827 GB, free: 59.65 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007288/1.227, allocations: 2.437 MB / 0.585 GB, free: 57.18 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/1.227, allocations: 144 kB / 0.5852 GB, free: 57.04 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/1.229, allocations: 244 kB / 0.5854 GB, free: 56.8 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01438/1.243, allocations: 5.215 MB / 0.5905 GB, free: 51.57 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.262, allocations: 6.153 MB / 0.5965 GB, free: 45.26 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.263, allocations: 4 kB / 0.5965 GB, free: 45.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009938/1.264, allocations: 3.984 kB / 0.5965 GB, free: 45.25 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/1.264, allocations: 276.7 kB / 0.5968 GB, free: 44.98 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/1.314, allocations: 20.53 MB / 0.6168 GB, free: 24.26 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/1.324, allocations: 7.553 MB / 0.6242 GB, free: 16.02 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006145/1.331, allocations: 2.858 MB / 0.627 GB, free: 13.14 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02375/1.354, allocations: 9.461 MB / 0.6362 GB, free: 3.461 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/1.354, allocations: 52.5 kB / 0.6363 GB, free: 3.402 MB / 395.1 MB Notification: Performance of pre-optimization done (n=265): time 7.334e-06/1.355, allocations: 0 / 0.6363 GB, free: 3.402 MB / 395.1 MB Notification: Performance of matching and sorting (n=265): time 0.01085/1.365, allocations: 4.384 MB / 0.6406 GB, free: 14.96 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/1.365, allocations: 73.41 kB / 0.6406 GB, free: 14.88 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/1.368, allocations: 1.037 MB / 0.6417 GB, free: 13.83 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005557/1.369, allocations: 25.7 kB / 0.6417 GB, free: 13.8 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.37, allocations: 1.669 MB / 0.6433 GB, free: 12.11 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/1.372, allocations: 0.8545 MB / 0.6441 GB, free: 11.24 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/1.372, allocations: 0 / 0.6441 GB, free: 11.24 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0004162/1.373, allocations: 449.8 kB / 0.6446 GB, free: 10.79 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004843/1.378, allocations: 1.876 MB / 0.6464 GB, free: 8.91 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006143/1.384, allocations: 2.638 MB / 0.649 GB, free: 5.957 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/1.392, allocations: 2.7 MB / 0.6516 GB, free: 3.242 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.468e-05/1.392, allocations: 4 kB / 0.6516 GB, free: 3.238 MB / 411.1 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.3085/1.701, allocations: 5.578 MB / 0.6571 GB, free: 87.11 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/1.701, allocations: 17.06 kB / 0.6571 GB, free: 87.11 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/1.701, allocations: 22.09 kB / 0.6571 GB, free: 87.11 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/1.704, allocations: 1.048 MB / 0.6581 GB, free: 87.09 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/1.708, allocations: 0.5315 MB / 0.6587 GB, free: 87.09 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/1.714, allocations: 3.97 MB / 0.6625 GB, free: 85.53 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.717, allocations: 315.6 kB / 0.6628 GB, free: 85.53 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/1.718, allocations: 137.1 kB / 0.663 GB, free: 85.53 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] 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.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[1].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[2].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] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[2].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[3].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[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009383/1.719, allocations: 223 kB / 0.6632 GB, free: 85.42 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/1.72, allocations: 164.3 kB / 0.6633 GB, free: 85.37 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.732, allocations: 4.689 MB / 0.6679 GB, free: 85.21 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01082/1.743, allocations: 4.341 MB / 0.6722 GB, free: 85.07 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.743, allocations: 2.625 kB / 0.6722 GB, free: 85.07 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/1.743, allocations: 13.8 kB / 0.6722 GB, free: 85.07 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.767, allocations: 8.822 MB / 0.6808 GB, free: 84.61 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/1.767, allocations: 1.031 kB / 0.6808 GB, free: 84.61 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.77, allocations: 257.9 kB / 0.681 GB, free: 84.61 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/1.772, allocations: 1.019 MB / 0.682 GB, free: 84.59 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000512/1.773, allocations: 35.34 kB / 0.6821 GB, free: 84.59 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/1.778, allocations: 3.924 MB / 0.6859 GB, free: 83 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.778, allocations: 4.781 kB / 0.6859 GB, free: 83 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.794, allocations: 7.202 MB / 0.6929 GB, free: 82.03 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/1.795, allocations: 300.9 kB / 0.6932 GB, free: 81.83 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007444/1.795, allocations: 0 / 0.6932 GB, free: 81.83 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.797, allocations: 59.58 kB / 0.6933 GB, free: 81.83 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006122/1.798, allocations: 210.4 kB / 0.6935 GB, free: 81.79 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/1.798, allocations: 65.27 kB / 0.6935 GB, free: 81.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00139/1.799, allocations: 0.7332 MB / 0.6943 GB, free: 81.44 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.799, allocations: 0 / 0.6943 GB, free: 81.44 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.004038/1.803, allocations: 0.9175 MB / 0.6951 GB, free: 81.31 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007746/1.804, allocations: 170.9 kB / 0.6953 GB, free: 81.23 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009986/1.814, allocations: 4.347 MB / 0.6996 GB, free: 79.58 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.814, allocations: 0 / 0.6996 GB, free: 79.58 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005149/1.819, allocations: 2.025 MB / 0.7015 GB, free: 78.8 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.822, allocations: 237.2 kB / 0.7018 GB, free: 78.74 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.842, allocations: 7.323 MB / 0.7089 GB, free: 75.98 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0039/1.846, allocations: 2.974 MB / 0.7118 GB, free: 74.68 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.847, allocations: 135.5 kB / 0.7119 GB, free: 74.66 MB / 411.1 MB Notification: Performance of SimCode: time 1.282e-06/1.847, allocations: 0.9375 kB / 0.7119 GB, free: 74.66 MB / 411.1 MB Notification: Performance of Templates: time 0.4882/2.335, allocations: 109.6 MB / 0.819 GB, free: 106.8 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches