Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009603/0.0009603, allocations: 89.62 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.721e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3242/0.4258, allocations: 90.23 MB / 492.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4261, allocations: 78.52 kB / 492.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5198/0.9459, allocations: 142.9 MB / 0.6205 GB, free: 84.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.9459, allocations: 0 / 0.6205 GB, free: 84.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001536/0.9461, allocations: 80.45 kB / 0.6206 GB, free: 84.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01118/0.9573, allocations: 3.723 MB / 0.6242 GB, free: 83.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.9573, allocations: 10.19 kB / 0.6242 GB, free: 83.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.9589, allocations: 0.5812 MB / 0.6248 GB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005814/0.9647, allocations: 0.9505 MB / 0.6257 GB, free: 82.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00576/0.9705, allocations: 2.427 MB / 0.6281 GB, free: 82.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.9708, allocations: 301.8 kB / 0.6284 GB, free: 82.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009474/0.9718, allocations: 377.2 kB / 0.6287 GB, free: 82.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.984, allocations: 5.818 MB / 0.6344 GB, free: 80.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.9841, allocations: 6.125 kB / 0.6344 GB, free: 80.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.9846, allocations: 164.1 kB / 0.6346 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/0.9849, allocations: 278.6 kB / 0.6348 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007831/0.9927, allocations: 4.255 MB / 0.639 GB, free: 78.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/1.017, allocations: 18.88 MB / 0.6574 GB, free: 67.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/1.021, allocations: 3.888 MB / 0.6612 GB, free: 64.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/1.022, allocations: 0.8371 MB / 0.662 GB, free: 64.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/1.022, allocations: 187.6 kB / 0.6622 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/1.022, allocations: 47.44 kB / 0.6623 GB, free: 63.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 3.386e-06/1.022, allocations: 0 / 0.6623 GB, free: 63.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.001679/1.024, allocations: 1.162 MB / 0.6634 GB, free: 63.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.024, allocations: 67 kB / 0.6635 GB, free: 63.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/1.026, allocations: 1.183 MB / 0.6646 GB, free: 62.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/1.026, allocations: 45.67 kB / 0.6647 GB, free: 62.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006925/1.026, allocations: 1.749 MB / 0.6664 GB, free: 61.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.027, allocations: 381.2 kB / 0.6667 GB, free: 61.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/1.027, allocations: 47.66 kB / 0.6668 GB, free: 61.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/1.027, allocations: 441.6 kB / 0.6672 GB, free: 60.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.028, allocations: 0.8354 MB / 0.668 GB, free: 60.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/1.029, allocations: 1.842 MB / 0.6698 GB, free: 58.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.031, allocations: 1.304 MB / 0.6711 GB, free: 58.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.031, allocations: 7.812 kB / 0.6711 GB, free: 58.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003361/1.034, allocations: 2.767 MB / 0.6738 GB, free: 57.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.034, allocations: 22.67 kB / 0.6738 GB, free: 57.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/1.034, allocations: 39.75 kB / 0.6739 GB, free: 57.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-05/1.034, allocations: 53.09 kB / 0.6739 GB, free: 57.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.036, allocations: 0.5213 MB / 0.6744 GB, free: 57.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.55e-05/1.036, allocations: 67.25 kB / 0.6745 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.037, allocations: 299.5 kB / 0.6748 GB, free: 56.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/1.037, allocations: 118.3 kB / 0.6749 GB, free: 56.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/1.038, allocations: 248.9 kB / 0.6751 GB, free: 56.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/1.038, allocations: 117.9 kB / 0.6752 GB, free: 56.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.04, allocations: 1.516 MB / 0.6767 GB, free: 56.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001206/1.041, allocations: 1.08 MB / 0.6778 GB, free: 55.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.041, allocations: 0 / 0.6778 GB, free: 55.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.041, allocations: 7.266 kB / 0.6778 GB, free: 55.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.056, allocations: 13.6 MB / 0.691 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.056, allocations: 24 kB / 0.6911 GB, free: 44.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/1.057, allocations: 231.5 kB / 0.6913 GB, free: 44.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/1.057, allocations: 32 kB / 0.6913 GB, free: 44.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/1.057, allocations: 50.89 kB / 0.6914 GB, free: 44.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/1.057, allocations: 39.86 kB / 0.6914 GB, free: 44.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-05/1.057, allocations: 39.77 kB / 0.6914 GB, free: 44.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/1.06, allocations: 3.925 MB / 0.6953 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/1.06, allocations: 247.2 kB / 0.6955 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/1.06, allocations: 47.98 kB / 0.6956 GB, free: 39.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/1.061, allocations: 71.94 kB / 0.6956 GB, free: 39.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.061, allocations: 139.5 kB / 0.6958 GB, free: 39.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/1.061, allocations: 59.98 kB / 0.6958 GB, free: 39.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001069/1.062, allocations: 0.8836 MB / 0.6967 GB, free: 38.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.062, allocations: 0 / 0.6967 GB, free: 38.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002677/1.065, allocations: 0.8857 MB / 0.6975 GB, free: 37.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004599/1.07, allocations: 10.97 MB / 0.7083 GB, free: 25.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/1.072, allocations: 1.912 MB / 0.7101 GB, free: 23.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.072, allocations: 4 kB / 0.7101 GB, free: 23.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/1.073, allocations: 0.6599 MB / 0.7108 GB, free: 23.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.075, allocations: 318.2 kB / 0.7111 GB, free: 22.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.086, allocations: 6.435 MB / 0.7174 GB, free: 16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/1.088, allocations: 2.867 MB / 0.7202 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001761/1.09, allocations: 0.7656 MB / 0.7209 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.091, allocations: 1.124 MB / 0.722 GB, free: 11.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.091, allocations: 0 / 0.722 GB, free: 11.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3061/1.397, allocations: 38.56 MB / 0.7597 GB, free: 87.23 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.397, allocations: 172.4 kB / 0.7598 GB, free: 87.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.983, allocations: 4.578 kB / 0.7598 GB, free: 87.01 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat