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.001718/0.001718, allocations: 179.1 kB / 8.697 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.601/1.601, 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.0008779/0.0008779, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.806e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.4714, allocations: 88.87 MB / 451.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4717, allocations: 78.7 kB / 452 MB, free: 6.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4916/0.9634, allocations: 139.8 MB / 0.578 GB, free: 96.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9635, allocations: 0 / 0.578 GB, free: 96.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002784/0.9637, allocations: 89.03 kB / 0.5781 GB, free: 96.08 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01421/0.978, allocations: 3.876 MB / 0.5818 GB, free: 94.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.978, allocations: 11.06 kB / 0.5818 GB, free: 94.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.9884, allocations: 1.805 MB / 0.5836 GB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.9941, allocations: 2.423 MB / 0.586 GB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.9945, allocations: 141.2 kB / 0.5861 GB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/0.9965, allocations: 251.5 kB / 0.5864 GB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0114/1.008, allocations: 5.226 MB / 0.5915 GB, free: 90.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/1.026, allocations: 6.148 MB / 0.5975 GB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/1.027, allocations: 7.688 kB / 0.5975 GB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/1.028, allocations: 4 kB / 0.5975 GB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003712/1.029, allocations: 271.7 kB / 0.5977 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/1.061, allocations: 20.53 MB / 0.6178 GB, free: 67.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/1.067, allocations: 7.548 MB / 0.6252 GB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/1.071, allocations: 2.862 MB / 0.6279 GB, free: 56.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.083, allocations: 9.471 MB / 0.6372 GB, free: 47.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.083, allocations: 52.5 kB / 0.6372 GB, free: 46.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 4.93e-06/1.083, allocations: 0 / 0.6372 GB, free: 46.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.005797/1.089, allocations: 4.372 MB / 0.6415 GB, free: 42.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/1.089, allocations: 73.41 kB / 0.6416 GB, free: 42.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.09, allocations: 1.037 MB / 0.6426 GB, free: 41.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.091, allocations: 29.7 kB / 0.6426 GB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/1.091, allocations: 1.647 MB / 0.6442 GB, free: 39.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/1.092, allocations: 0.8506 MB / 0.6451 GB, free: 38.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/1.092, allocations: 0 / 0.6451 GB, free: 38.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/1.092, allocations: 493.7 kB / 0.6455 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/1.094, allocations: 1.872 MB / 0.6474 GB, free: 36.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/1.097, allocations: 2.642 MB / 0.6499 GB, free: 33.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/1.101, allocations: 2.692 MB / 0.6526 GB, free: 30.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/1.101, allocations: 11.95 kB / 0.6526 GB, free: 30.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.008039/1.109, allocations: 5.619 MB / 0.6581 GB, free: 25.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/1.109, allocations: 12 kB / 0.6581 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/1.109, allocations: 28 kB / 0.6581 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/1.11, allocations: 1.061 MB / 0.6591 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.112, allocations: 0.5265 MB / 0.6597 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.115, allocations: 3.967 MB / 0.6635 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.117, allocations: 320.3 kB / 0.6638 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/1.118, allocations: 140 kB / 0.664 GB, free: 19.01 MB / 410.7 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.0005182/1.118, allocations: 226 kB / 0.6642 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/1.118, allocations: 165.9 kB / 0.6643 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005928/1.124, allocations: 4.683 MB / 0.6689 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004828/1.129, allocations: 4.334 MB / 0.6732 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.129, allocations: 0 / 0.6732 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.129, allocations: 11.95 kB / 0.6732 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.141, allocations: 8.826 MB / 0.6818 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.141, allocations: 4 kB / 0.6818 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.142, allocations: 251.7 kB / 0.682 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2359/1.378, allocations: 1.014 MB / 0.683 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006266/1.378, allocations: 37.25 kB / 0.6831 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/1.383, allocations: 3.925 MB / 0.6869 GB, free: 89.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.383, allocations: 1.203 kB / 0.6869 GB, free: 89.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.395, allocations: 7.203 MB / 0.6939 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.396, allocations: 291.3 kB / 0.6942 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/1.396, allocations: 8.516 kB / 0.6942 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/1.397, allocations: 53.28 kB / 0.6943 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/1.398, allocations: 204.8 kB / 0.6945 GB, free: 88.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.398, allocations: 70.83 kB / 0.6945 GB, free: 88.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001128/1.399, allocations: 0.737 MB / 0.6952 GB, free: 88.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.399, allocations: 1.531 kB / 0.6952 GB, free: 88.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00381/1.403, allocations: 0.9148 MB / 0.6961 GB, free: 88.52 MB / 410.7 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.0005699/1.403, allocations: 163.9 kB / 0.6963 GB, free: 88.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007092/1.411, allocations: 4.355 MB / 0.7005 GB, free: 88.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.411, allocations: 0 / 0.7005 GB, free: 88.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/1.413, allocations: 2.024 MB / 0.7025 GB, free: 88.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.415, allocations: 234.6 kB / 0.7027 GB, free: 88.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.434, allocations: 7.415 MB / 0.71 GB, free: 87.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/1.438, allocations: 3.047 MB / 0.713 GB, free: 86.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002713/1.441, allocations: 0.5746 MB / 0.7135 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/1.441, allocations: 120.2 kB / 0.7136 GB, free: 86.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/1.441, allocations: 0 / 0.7136 GB, free: 86.45 MB / 410.7 MB Notification: Performance of Templates: time 0.07528/1.517, allocations: 35.31 MB / 0.7481 GB, free: 79.43 MB / 410.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/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