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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 178.5 kB / 8.7 MB, free: 384 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.377/1.377, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.000817/0.000817, allocations: 82.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.504e-05, allocations: 3.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07603/0.07606, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.365, allocations: 88.89 MB / 452.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.3652, allocations: 80.58 kB / 452.1 MB, free: 6.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.471/0.8362, allocations: 139.8 MB / 0.5781 GB, free: 96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8363, allocations: 3.594 kB / 0.5781 GB, free: 96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.8365, allocations: 83.05 kB / 0.5781 GB, free: 96 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.01197/0.8484, allocations: 3.875 MB / 0.5819 GB, free: 94.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.8485, allocations: 15.06 kB / 0.5819 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.8595, allocations: 1.81 MB / 0.5837 GB, free: 93.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00587/0.8655, allocations: 2.425 MB / 0.5861 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.8659, allocations: 150.8 kB / 0.5862 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.8679, allocations: 244.6 kB / 0.5865 GB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01183/0.8797, allocations: 5.221 MB / 0.5916 GB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.8965, allocations: 6.154 MB / 0.5976 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.8968, allocations: 2.953 kB / 0.5976 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.8981, allocations: 3.625 kB / 0.5976 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003326/0.8984, allocations: 274 kB / 0.5978 GB, free: 87.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/0.9362, allocations: 20.54 MB / 0.6179 GB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.9431, allocations: 7.544 MB / 0.6253 GB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003879/0.947, allocations: 2.862 MB / 0.6281 GB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/0.9601, allocations: 9.466 MB / 0.6373 GB, free: 46.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.9602, allocations: 52.56 kB / 0.6373 GB, free: 46.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 4.799e-06/0.9602, allocations: 0 / 0.6373 GB, free: 46.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.005635/0.9658, allocations: 4.365 MB / 0.6416 GB, free: 42.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.9659, allocations: 77.34 kB / 0.6417 GB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.9673, allocations: 1.045 MB / 0.6427 GB, free: 41.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.9675, allocations: 25.7 kB / 0.6427 GB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.9682, allocations: 1.644 MB / 0.6443 GB, free: 39.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006345/0.9689, allocations: 0.8621 MB / 0.6452 GB, free: 38.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.9691, allocations: 0 / 0.6452 GB, free: 38.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.9694, allocations: 489.8 kB / 0.6456 GB, free: 38.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.9716, allocations: 1.884 MB / 0.6475 GB, free: 36.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.9742, allocations: 2.634 MB / 0.6501 GB, free: 33.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/0.9781, allocations: 2.685 MB / 0.6527 GB, free: 30.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/0.9781, allocations: 11.95 kB / 0.6527 GB, free: 30.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007549/0.9857, allocations: 5.618 MB / 0.6582 GB, free: 24.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.9857, allocations: 16.97 kB / 0.6582 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.9858, allocations: 20 kB / 0.6582 GB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.9871, allocations: 1.057 MB / 0.6592 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.989, allocations: 0.5343 MB / 0.6598 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.9922, allocations: 3.959 MB / 0.6636 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.9943, allocations: 324.2 kB / 0.6639 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.9948, allocations: 140 kB / 0.6641 GB, free: 18.81 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.0007448/0.9955, allocations: 225.5 kB / 0.6643 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006072/1.002, allocations: 4.372 MB / 0.6686 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.002, allocations: 153.9 kB / 0.6687 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/1.008, allocations: 4.702 MB / 0.6733 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005224/1.014, allocations: 4.342 MB / 0.6775 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.014, allocations: 0 / 0.6775 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.014, allocations: 11.91 kB / 0.6775 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2622/1.276, allocations: 8.813 MB / 0.6862 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/1.276, allocations: 3.844 kB / 0.6862 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.277, allocations: 251.2 kB / 0.6864 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.279, allocations: 1.021 MB / 0.6874 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005011/1.28, allocations: 37.2 kB / 0.6874 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/1.284, allocations: 3.925 MB / 0.6913 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.284, allocations: 4.516 kB / 0.6913 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.298, allocations: 7.202 MB / 0.6983 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/1.299, allocations: 288.9 kB / 0.6986 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/1.3, allocations: 1.156 kB / 0.6986 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.301, allocations: 56.73 kB / 0.6986 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/1.301, allocations: 213.1 kB / 0.6988 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.301, allocations: 64.98 kB / 0.6989 GB, free: 88.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001356/1.303, allocations: 0.7397 MB / 0.6996 GB, free: 88.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.303, allocations: 0 / 0.6996 GB, free: 88.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003057/1.306, allocations: 0.92 MB / 0.7005 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.009196/1.315, allocations: 7.825 MB / 0.7082 GB, free: 87.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005795/1.321, allocations: 4.357 MB / 0.7124 GB, free: 87.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.321, allocations: 0 / 0.7124 GB, free: 87.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.323, allocations: 2.021 MB / 0.7144 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.325, allocations: 229.2 kB / 0.7146 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.34, allocations: 8.533 MB / 0.7229 GB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.342, allocations: 3.043 MB / 0.7259 GB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001593/1.344, allocations: 0.5787 MB / 0.7265 GB, free: 81.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.345, allocations: 1.218 MB / 0.7277 GB, free: 80.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/1.345, allocations: 0 / 0.7277 GB, free: 80.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/1.441, allocations: 60.82 MB / 0.7871 GB, free: 40.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.442, allocations: 166.5 kB / 0.7872 GB, free: 39.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/4.426, allocations: 4 kB / 0.7872 GB, free: 39.89 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat