Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002105/0.002105, allocations: 178.4 kB / 8.362 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 2.032/2.032, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001155/0.001155, allocations: 94.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.05e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.483, allocations: 88.7 MB / 451 MB, free: 13.59 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.4833, allocations: 87.86 kB / 451.1 MB, free: 13.5 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9618/1.445, allocations: 216 MB / 0.6515 GB, free: 4.578 MB / 411.1 MB Notification: Performance of FrontEnd: time 5.39e-06/1.445, allocations: 0 / 0.6515 GB, free: 4.578 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0004191/1.446, allocations: 143.8 kB / 0.6516 GB, free: 4.438 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.3436/1.789, allocations: 6.165 MB / 0.6576 GB, free: 48.54 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.789, allocations: 7.844 kB / 0.6576 GB, free: 48.54 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/1.82, allocations: 3.509 MB / 0.6611 GB, free: 48.21 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.833, allocations: 3.938 MB / 0.6649 GB, free: 47.91 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/1.834, allocations: 225.4 kB / 0.6651 GB, free: 47.91 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/1.837, allocations: 379.6 kB / 0.6655 GB, free: 47.9 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02489/1.862, allocations: 8.559 MB / 0.6739 GB, free: 47.87 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/1.896, allocations: 9.686 MB / 0.6833 GB, free: 47.19 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/1.897, allocations: 11.16 kB / 0.6833 GB, free: 47.18 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002297/1.899, allocations: 4.125 kB / 0.6833 GB, free: 47.18 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008302/1.9, allocations: 467.2 kB / 0.6838 GB, free: 47.17 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09/1.99, allocations: 32.49 MB / 0.7155 GB, free: 42.38 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01944/2.009, allocations: 13.32 MB / 0.7285 GB, free: 31.98 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01005/2.019, allocations: 4.669 MB / 0.7331 GB, free: 30.04 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04072/2.06, allocations: 15.19 MB / 0.7479 GB, free: 22.34 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/2.06, allocations: 75.41 kB / 0.748 GB, free: 22.27 MB / 411.1 MB Notification: Performance of pre-optimization done (n=480): time 9.989e-06/2.06, allocations: 0 / 0.748 GB, free: 22.27 MB / 411.1 MB Notification: Performance of matching and sorting (n=480): time 0.0215/2.082, allocations: 8.177 MB / 0.756 GB, free: 19.07 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/2.082, allocations: 118.9 kB / 0.7561 GB, free: 18.96 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/2.085, allocations: 1.449 MB / 0.7575 GB, free: 18.38 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/2.086, allocations: 31.73 kB / 0.7575 GB, free: 18.34 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/2.088, allocations: 2.407 MB / 0.7599 GB, free: 16.47 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002536/2.09, allocations: 1.537 MB / 0.7614 GB, free: 15.25 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007444/2.091, allocations: 0 / 0.7614 GB, free: 15.25 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000487/2.092, allocations: 0.5245 MB / 0.7619 GB, free: 14.85 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006944/2.099, allocations: 3.04 MB / 0.7648 GB, free: 12.99 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00798/2.107, allocations: 4.064 MB / 0.7688 GB, free: 8.973 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/2.119, allocations: 4.466 MB / 0.7732 GB, free: 5.352 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.15e-05/2.119, allocations: 8 kB / 0.7732 GB, free: 5.344 MB / 411.1 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.03139/2.151, allocations: 9.814 MB / 0.7828 GB, free: 13.52 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/2.151, allocations: 16 kB / 0.7828 GB, free: 13.51 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/2.151, allocations: 32 kB / 0.7828 GB, free: 13.48 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008243/2.159, allocations: 2.671 MB / 0.7854 GB, free: 11.21 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006664/2.166, allocations: 0.7751 MB / 0.7862 GB, free: 10.62 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/2.183, allocations: 9.821 MB / 0.7958 GB, free: 1.344 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/2.189, allocations: 440.7 kB / 0.7962 GB, free: 0.9492 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/2.191, allocations: 211.3 kB / 0.7964 GB, free: 0.7617 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor1.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor1.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor1.y[2].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor1.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor1.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor1.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star1_1.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_1.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_1.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star1_1.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star1_1.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_1.plugToPins_p.pin_p[3].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: star1_2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star1_2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star1_2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star1_2.plugToPins_p.pin_p[1].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_2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2_2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2_2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2_2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor2_2.i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real resistor2_2.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor2.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor2.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor2.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor2.y[2].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor2.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor2.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2_1.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2_1.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2_1.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star2_1.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2_1.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star2_1.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001868/2.193, allocations: 306.6 kB / 0.7967 GB, free: 0.5586 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/2.194, allocations: 264.2 kB / 0.7969 GB, free: 308 kB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02698/2.221, allocations: 8.876 MB / 0.8056 GB, free: 8.895 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000291/2.221, allocations: 146 kB / 0.8057 GB, free: 8.773 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/2.221, allocations: 0 / 0.8057 GB, free: 8.773 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-05/2.221, allocations: 17.58 kB / 0.8058 GB, free: 8.773 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/2.237, allocations: 5.869 MB / 0.8115 GB, free: 4.16 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-05/2.237, allocations: 4 kB / 0.8115 GB, free: 4.156 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004427/2.241, allocations: 439.1 kB / 0.8119 GB, free: 3.84 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007994/2.249, allocations: 2.642 MB / 0.8145 GB, free: 1.598 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/2.25, allocations: 54.25 kB / 0.8145 GB, free: 1.559 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3252/2.576, allocations: 9.74 MB / 0.8241 GB, free: 73.62 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/2.576, allocations: 7.281 kB / 0.8241 GB, free: 73.62 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0317/2.607, allocations: 13.06 MB / 0.8368 GB, free: 73.2 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/2.609, allocations: 434.5 kB / 0.8372 GB, free: 73.03 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.61, allocations: 1.156 kB / 0.8372 GB, free: 73.03 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003852/2.614, allocations: 88.8 kB / 0.8373 GB, free: 73.03 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001726/2.616, allocations: 360.6 kB / 0.8377 GB, free: 73.03 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/2.617, allocations: 129 kB / 0.8378 GB, free: 73.03 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.002502/2.619, allocations: 1.042 MB / 0.8388 GB, free: 72.92 MB / 443.1 MB Notification: Performance of sort global known variables: time 8.01e-07/2.619, allocations: 0 / 0.8388 GB, free: 72.92 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.008052/2.628, allocations: 1.437 MB / 0.8402 GB, free: 72.73 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/2.629, allocations: 165.2 kB / 0.8404 GB, free: 72.64 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.01991/2.649, allocations: 7.394 MB / 0.8476 GB, free: 72.43 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.649, allocations: 1 kB / 0.8476 GB, free: 72.43 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01091/2.66, allocations: 3.726 MB / 0.8512 GB, free: 72.27 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/2.665, allocations: 375.4 kB / 0.8516 GB, free: 72.27 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/2.698, allocations: 11.63 MB / 0.8629 GB, free: 70.59 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008322/2.706, allocations: 4.295 MB / 0.8671 GB, free: 69.79 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/2.708, allocations: 220.2 kB / 0.8674 GB, free: 69.78 MB / 443.1 MB Notification: Performance of SimCode: time 1.263e-06/2.708, allocations: 0 / 0.8674 GB, free: 69.78 MB / 443.1 MB Notification: Performance of Templates: time 1.067/3.775, allocations: 303.4 MB / 1.164 GB, free: 110.8 MB / 475.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches