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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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.001588/0.001588, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.00108/0.001079, allocations: 78.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.635e-05, allocations: 0 / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09684, allocations: 47.59 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5655, allocations: 89.29 MB / 458.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5658, allocations: 82.62 kB / 458.6 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7475/1.313, allocations: 141.3 MB / 0.5858 GB, free: 91.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.29e-06/1.313, allocations: 0 / 0.5858 GB, free: 91.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002154/1.314, allocations: 97.5 kB / 0.5859 GB, free: 91 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.01824/1.332, allocations: 3.875 MB / 0.5897 GB, free: 89.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.332, allocations: 10.75 kB / 0.5897 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002474/1.334, allocations: 0.6279 MB / 0.5903 GB, free: 88.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/1.353, allocations: 1.813 MB / 0.5921 GB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/1.364, allocations: 2.429 MB / 0.5944 GB, free: 86.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005582/1.364, allocations: 327 kB / 0.5947 GB, free: 86.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/1.366, allocations: 417.6 kB / 0.5951 GB, free: 86.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/1.388, allocations: 6.825 MB / 0.6018 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/1.388, allocations: 4 kB / 0.6018 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/1.389, allocations: 182.7 kB / 0.602 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/1.39, allocations: 276.7 kB / 0.6022 GB, free: 80.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.407, allocations: 5.736 MB / 0.6078 GB, free: 74.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/1.46, allocations: 21.34 MB / 0.6287 GB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.472, allocations: 7.581 MB / 0.6361 GB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006896/1.479, allocations: 2.927 MB / 0.6389 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02475/1.504, allocations: 9.459 MB / 0.6482 GB, free: 32.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.504, allocations: 60.55 kB / 0.6482 GB, free: 32.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 6.182e-06/1.504, allocations: 0 / 0.6482 GB, free: 32.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01093/1.515, allocations: 4.243 MB / 0.6524 GB, free: 28.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/1.515, allocations: 77.41 kB / 0.6525 GB, free: 28.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/1.518, allocations: 1.088 MB / 0.6535 GB, free: 27.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006239/1.518, allocations: 57.7 kB / 0.6536 GB, free: 27.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.519, allocations: 1.668 MB / 0.6552 GB, free: 25.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.521, allocations: 0.8857 MB / 0.6561 GB, free: 24.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/1.521, allocations: 56 kB / 0.6561 GB, free: 24.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002965/1.522, allocations: 449.8 kB / 0.6565 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004843/1.526, allocations: 1.911 MB / 0.6584 GB, free: 22.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/1.532, allocations: 2.673 MB / 0.661 GB, free: 19.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/1.537, allocations: 2.378 MB / 0.6633 GB, free: 16.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/1.537, allocations: 4 kB / 0.6634 GB, free: 16.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01341/1.551, allocations: 5.451 MB / 0.6687 GB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/1.551, allocations: 16 kB / 0.6687 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/1.551, allocations: 36.77 kB / 0.6687 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/1.554, allocations: 1.053 MB / 0.6698 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/1.559, allocations: 0.5265 MB / 0.6703 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/1.568, allocations: 3.874 MB / 0.6741 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/1.572, allocations: 364.3 kB / 0.6744 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007795/1.573, allocations: 140 kB / 0.6745 GB, free: 5.078 MB / 410.7 MB 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.0007739/1.573, allocations: 264.1 kB / 0.6748 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/1.574, allocations: 153.9 kB / 0.6749 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.585, allocations: 4.621 MB / 0.6794 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01183/1.597, allocations: 4.213 MB / 0.6836 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.597, allocations: 0 / 0.6836 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/1.597, allocations: 7.969 kB / 0.6836 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/1.625, allocations: 9.499 MB / 0.6928 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/1.625, allocations: 4 kB / 0.6928 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/1.628, allocations: 247.7 kB / 0.6931 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.631, allocations: 1.029 MB / 0.6941 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006534/1.631, allocations: 59.95 kB / 0.6941 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3216/1.953, allocations: 3.826 MB / 0.6979 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.953, allocations: 3.844 kB / 0.6979 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/1.972, allocations: 7.07 MB / 0.7048 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/1.973, allocations: 292.1 kB / 0.7051 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008966/1.974, allocations: 34.52 kB / 0.7051 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.976, allocations: 78.7 kB / 0.7052 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009906/1.977, allocations: 206.1 kB / 0.7054 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003448/1.978, allocations: 70.16 kB / 0.7054 GB, free: 101.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002066/1.98, allocations: 0.7849 MB / 0.7062 GB, free: 101.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.98, allocations: 0.7812 kB / 0.7062 GB, free: 101.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00482/1.984, allocations: 1.002 MB / 0.7072 GB, free: 101 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 (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.01939/2.004, allocations: 7.727 MB / 0.7147 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01147/2.015, allocations: 4.437 MB / 0.7191 GB, free: 99.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.015, allocations: 0 / 0.7191 GB, free: 99.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005636/2.021, allocations: 2.048 MB / 0.7211 GB, free: 99.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/2.024, allocations: 266.8 kB / 0.7213 GB, free: 99.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/2.05, allocations: 8.492 MB / 0.7296 GB, free: 98.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/2.054, allocations: 2.965 MB / 0.7325 GB, free: 96.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/2.056, allocations: 1.24 MB / 0.7337 GB, free: 95.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/2.056, allocations: 0 / 0.7337 GB, free: 95.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.733/5.79, allocations: 129 MB / 0.8597 GB, free: 105.1 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat