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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 180 kB / 8.153 MB, free: 2.184 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.669/1.669, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001265/0.001265, allocations: 87.92 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.035e-05, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.3747, allocations: 88.57 MB / 450.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.375, allocations: 79.95 kB / 450.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6036/0.9786, allocations: 139 MB / 0.5757 GB, free: 65.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002041/0.9789, allocations: 83.94 kB / 0.5758 GB, free: 65.7 MB / 394.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.0184/0.9973, allocations: 3.926 MB / 0.5796 GB, free: 61.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9974, allocations: 8.031 kB / 0.5796 GB, free: 61.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/1.015, allocations: 1.767 MB / 0.5813 GB, free: 59.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/1.022, allocations: 2.441 MB / 0.5837 GB, free: 57.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/1.023, allocations: 144 kB / 0.5839 GB, free: 57.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/1.025, allocations: 243.9 kB / 0.5841 GB, free: 57.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01638/1.041, allocations: 5.324 MB / 0.5893 GB, free: 51.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/1.062, allocations: 6.253 MB / 0.5954 GB, free: 45.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/1.063, allocations: 0 / 0.5954 GB, free: 45.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/1.064, allocations: 4 kB / 0.5954 GB, free: 45.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/1.065, allocations: 276.7 kB / 0.5957 GB, free: 45.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05501/1.12, allocations: 21.67 MB / 0.6168 GB, free: 22.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/1.127, allocations: 3.475 MB / 0.6202 GB, free: 19.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007269/1.135, allocations: 2.909 MB / 0.6231 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03022/1.165, allocations: 11.06 MB / 0.6339 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.165, allocations: 48.56 kB / 0.6339 GB, free: 4.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=280): time 6.913e-06/1.165, allocations: 0 / 0.6339 GB, free: 4.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=280): time 0.01221/1.177, allocations: 4.558 MB / 0.6384 GB, free: 368 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.178, allocations: 77.41 kB / 0.6384 GB, free: 280 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.18, allocations: 1.132 MB / 0.6395 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005883/1.181, allocations: 29.7 kB / 0.6396 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/1.182, allocations: 1.595 MB / 0.6411 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.184, allocations: 0.9045 MB / 0.642 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004205/1.184, allocations: 0 / 0.642 GB, free: 12.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005095/1.185, allocations: 458.3 kB / 0.6424 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006092/1.191, allocations: 2.048 MB / 0.6444 GB, free: 10.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007246/1.198, allocations: 2.815 MB / 0.6472 GB, free: 6.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008734/1.207, allocations: 2.625 MB / 0.6498 GB, free: 4.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.608e-05/1.207, allocations: 8 kB / 0.6498 GB, free: 4.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1629/1.37, allocations: 5.748 MB / 0.6554 GB, free: 126.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.37, allocations: 7.531 kB / 0.6554 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.965e-05/1.37, allocations: 22.72 kB / 0.6554 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/1.373, allocations: 1.062 MB / 0.6564 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/1.378, allocations: 0.5922 MB / 0.657 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/1.385, allocations: 4.089 MB / 0.661 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/1.388, allocations: 235.7 kB / 0.6612 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008979/1.389, allocations: 150.3 kB / 0.6614 GB, free: 124.8 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[3].u.re:VARIABLE() "Real 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[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.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[2].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] powerSensor.powerSensor[3].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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] 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[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] 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 (332): * Single equations (assignments): 280 * 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.001015/1.39, allocations: 151.5 kB / 0.6615 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006453/1.39, allocations: 167 kB / 0.6617 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.404, allocations: 4.887 MB / 0.6665 GB, free: 124.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01145/1.415, allocations: 4.476 MB / 0.6708 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.415, allocations: 0 / 0.6708 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/1.415, allocations: 11.16 kB / 0.6708 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.439, allocations: 9.225 MB / 0.6799 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.439, allocations: 7.844 kB / 0.6799 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.442, allocations: 288.6 kB / 0.6801 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/1.445, allocations: 1.036 MB / 0.6811 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006216/1.446, allocations: 36.3 kB / 0.6812 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/1.452, allocations: 4.032 MB / 0.6851 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.452, allocations: 0 / 0.6851 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01835/1.47, allocations: 7.568 MB / 0.6925 GB, free: 122 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/1.471, allocations: 345.9 kB / 0.6928 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009916/1.472, allocations: 0 / 0.6928 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.474, allocations: 49.05 kB / 0.6929 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000877/1.475, allocations: 203.3 kB / 0.6931 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/1.476, allocations: 68.02 kB / 0.6931 GB, free: 121.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001706/1.477, allocations: 0.8078 MB / 0.6939 GB, free: 121.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004504/1.482, allocations: 0.9247 MB / 0.6948 GB, free: 121.6 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 (167): * Single equations (assignments): 115 * 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.0009327/1.483, allocations: 179.2 kB / 0.695 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.495, allocations: 4.69 MB / 0.6996 GB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.495, allocations: 0 / 0.6996 GB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006057/1.501, allocations: 2.175 MB / 0.7017 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/1.504, allocations: 222.2 kB / 0.7019 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.53, allocations: 7.503 MB / 0.7092 GB, free: 116.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007226/1.537, allocations: 3.125 MB / 0.7123 GB, free: 115.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/1.537, allocations: 0 / 0.7123 GB, free: 115.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1622/1.7, allocations: 106.9 MB / 0.8167 GB, free: 23.38 MB / 410.7 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