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") [: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.001015/0.001015, allocations: 183.7 kB / 8.48 MB, free: 1.891 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.277/1.277, allocations: 205.2 MB / 214.1 MB, free: 5.168 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.001193/0.001193, allocations: 83.69 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.149e-06/5.179e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07744/0.07746, allocations: 47.58 MB / 362.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/0.3489, allocations: 88.55 MB / 451.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3492, allocations: 85.78 kB / 451.2 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.4533/0.8026, allocations: 139 MB / 0.5764 GB, free: 91.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001787/0.8028, allocations: 92.12 kB / 0.5765 GB, free: 91.12 MB / 426.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.01237/0.8152, allocations: 3.908 MB / 0.5803 GB, free: 90.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.8152, allocations: 12.25 kB / 0.5803 GB, free: 90.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.8265, allocations: 1.768 MB / 0.582 GB, free: 90.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/0.8321, allocations: 2.436 MB / 0.5844 GB, free: 90.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.8325, allocations: 145.5 kB / 0.5845 GB, free: 90.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.8341, allocations: 248.6 kB / 0.5848 GB, free: 90.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009541/0.8436, allocations: 5.326 MB / 0.59 GB, free: 90.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.8541, allocations: 6.254 MB / 0.5961 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.8542, allocations: 3.375 kB / 0.5961 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004078/0.8546, allocations: 3.938 kB / 0.5961 GB, free: 89.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.8548, allocations: 282.1 kB / 0.5964 GB, free: 89.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.8844, allocations: 21.66 MB / 0.6175 GB, free: 85.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.8881, allocations: 3.477 MB / 0.6209 GB, free: 85.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.8917, allocations: 2.903 MB / 0.6237 GB, free: 85.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.9053, allocations: 11.06 MB / 0.6345 GB, free: 79.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.9054, allocations: 56.47 kB / 0.6346 GB, free: 79.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 5.019e-06/0.9054, allocations: 3.562 kB / 0.6346 GB, free: 79.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=280): time 0.00559/0.911, allocations: 4.551 MB / 0.639 GB, free: 77.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.9111, allocations: 76.94 kB / 0.6391 GB, free: 77.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.9125, allocations: 1.137 MB / 0.6402 GB, free: 76.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.9127, allocations: 25.7 kB / 0.6403 GB, free: 76.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.9132, allocations: 1.575 MB / 0.6418 GB, free: 75.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.9138, allocations: 0.9042 MB / 0.6427 GB, free: 74.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.914, allocations: 0 / 0.6427 GB, free: 74.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.9142, allocations: 495.5 kB / 0.6431 GB, free: 74.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.9165, allocations: 2.046 MB / 0.6451 GB, free: 73.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/0.9198, allocations: 2.815 MB / 0.6479 GB, free: 71.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.924, allocations: 2.616 MB / 0.6504 GB, free: 70.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.9241, allocations: 10.91 kB / 0.6505 GB, free: 70.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01005/0.9341, allocations: 5.789 MB / 0.6561 GB, free: 68.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9342, allocations: 4.844 kB / 0.6561 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/0.9342, allocations: 22.28 kB / 0.6561 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.9358, allocations: 1.069 MB / 0.6572 GB, free: 68.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/0.9383, allocations: 0.5911 MB / 0.6578 GB, free: 67.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.9417, allocations: 4.086 MB / 0.6617 GB, free: 63.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.9442, allocations: 306.7 kB / 0.662 GB, free: 63.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.9445, allocations: 146.6 kB / 0.6622 GB, free: 63.46 MB / 426.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.0005649/0.9451, allocations: 226.1 kB / 0.6624 GB, free: 63.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.9455, allocations: 165.5 kB / 0.6626 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/0.9516, allocations: 4.892 MB / 0.6673 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004827/0.9564, allocations: 4.471 MB / 0.6717 GB, free: 55.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.9564, allocations: 0 / 0.6717 GB, free: 55.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.9565, allocations: 11.16 kB / 0.6717 GB, free: 55.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.9676, allocations: 9.162 MB / 0.6807 GB, free: 47.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.9676, allocations: 7.375 kB / 0.6807 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.969, allocations: 288.6 kB / 0.6809 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.9703, allocations: 1.035 MB / 0.682 GB, free: 46.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.9705, allocations: 35.78 kB / 0.682 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.9734, allocations: 4.04 MB / 0.6859 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9735, allocations: 0 / 0.6859 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007882/0.9813, allocations: 7.557 MB / 0.6933 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.982, allocations: 313.9 kB / 0.6936 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.9823, allocations: 4 kB / 0.6936 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.9832, allocations: 42.88 kB / 0.6937 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.9836, allocations: 201.1 kB / 0.6938 GB, free: 35.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.9838, allocations: 75.42 kB / 0.6939 GB, free: 35.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0009395/0.9847, allocations: 0.7988 MB / 0.6947 GB, free: 34.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002345/0.9871, allocations: 0.9263 MB / 0.6956 GB, free: 33.54 MB / 426.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.0003652/0.9875, allocations: 177.8 kB / 0.6958 GB, free: 33.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.9936, allocations: 4.69 MB / 0.7004 GB, free: 29.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9937, allocations: 0.9375 kB / 0.7004 GB, free: 29.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.9965, allocations: 2.173 MB / 0.7025 GB, free: 27.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.9981, allocations: 228.3 kB / 0.7027 GB, free: 27.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.011, allocations: 7.603 MB / 0.7101 GB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003026/1.014, allocations: 3.201 MB / 0.7132 GB, free: 17.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.014, allocations: 0 / 0.7132 GB, free: 17.96 MB / 426.7 MB Notification: Performance of Templates: time 0.2072/1.221, allocations: 43.33 MB / 0.7556 GB, free: 121.4 MB / 426.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