Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 182.7 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.1 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009138, allocations: 84.34 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 14.25 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.556, allocations: 168.1 MB / 1.387 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5563, allocations: 99.92 kB / 1.387 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08678/0.6431, allocations: 37.85 MB / 1.424 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6432, allocations: 3.938 kB / 1.424 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.776e-05/0.6432, allocations: 24 kB / 1.424 GB, free: 3.504 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002917/0.6461, allocations: 1.167 MB / 1.425 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6462, allocations: 8.031 kB / 1.425 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005872/0.6468, allocations: 206.1 kB / 1.426 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.6484, allocations: 274.4 kB / 1.426 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.6499, allocations: 0.7162 MB / 1.427 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.65, allocations: 94.5 kB / 1.427 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.6502, allocations: 124 kB / 1.427 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6373/1.287, allocations: 1.91 MB / 1.429 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.288, allocations: 0 / 1.429 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.288, allocations: 51.94 kB / 1.429 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.288, allocations: 59.42 kB / 1.429 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/1.291, allocations: 1.645 MB / 1.43 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/1.301, allocations: 7.701 MB / 1.438 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.302, allocations: 125 kB / 1.438 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.302, allocations: 90.8 kB / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.302, allocations: 36.45 kB / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/1.302, allocations: 0 / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0005669/1.302, allocations: 272.2 kB / 1.438 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.302, allocations: 133.2 kB / 1.438 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.304, allocations: 0.8407 MB / 1.439 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.304, allocations: 26.7 kB / 1.439 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/1.304, allocations: 0.7651 MB / 1.44 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/1.304, allocations: 55.12 kB / 1.44 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/1.304, allocations: 24.09 kB / 1.44 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.304, allocations: 376.7 kB / 1.44 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/1.305, allocations: 419.5 kB / 1.441 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.306, allocations: 1.158 MB / 1.442 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.307, allocations: 0.7185 MB / 1.443 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.307, allocations: 7.438 kB / 1.443 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002476/1.31, allocations: 1.536 MB / 1.444 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/1.31, allocations: 19.34 kB / 1.444 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/1.31, allocations: 29.42 kB / 1.444 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/1.31, allocations: 40.41 kB / 1.444 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/1.311, allocations: 285.8 kB / 1.445 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.224e-05/1.311, allocations: 55.83 kB / 1.445 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/1.312, allocations: 190.2 kB / 1.445 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.312, allocations: 72.12 kB / 1.445 GB, free: 174.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009396/1.313, allocations: 0.6316 MB / 1.445 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/1.313, allocations: 63.44 kB / 1.446 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/1.313, allocations: 142.3 kB / 1.446 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.313, allocations: 2.25 kB / 1.446 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/1.313, allocations: 3.031 kB / 1.446 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.313, allocations: 1.859 kB / 1.446 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/1.315, allocations: 0.771 MB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.315, allocations: 1.5 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/1.315, allocations: 5.016 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.315, allocations: 2.078 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.315, allocations: 0.875 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.315, allocations: 0.9688 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.315, allocations: 5.078 kB / 1.446 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/1.315, allocations: 389.3 kB / 1.447 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/1.315, allocations: 154.5 kB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/1.315, allocations: 9.203 kB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/1.316, allocations: 12.84 kB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/1.316, allocations: 6.188 kB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.316, allocations: 1.094 kB / 1.447 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008677/1.316, allocations: 0.6377 MB / 1.448 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.316, allocations: 0 / 1.448 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001347/1.318, allocations: 301.6 kB / 1.448 GB, free: 173.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005341/1.318, allocations: 1.086 MB / 1.449 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.32, allocations: 0.7103 MB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.32, allocations: 0.875 kB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/1.32, allocations: 17.86 kB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.32, allocations: 44.59 kB / 1.45 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.333, allocations: 23.14 MB / 1.472 GB, free: 151.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.334, allocations: 1.302 MB / 1.474 GB, free: 150.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001164/1.336, allocations: 362.9 kB / 1.474 GB, free: 150.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/1.336, allocations: 293.7 kB / 1.474 GB, free: 150.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.603e-06/1.336, allocations: 4 kB / 1.474 GB, free: 150.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/1.369, allocations: 13.27 MB / 1.487 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.369, allocations: 209.1 kB / 1.487 GB, free: 149.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/3.481, allocations: 1.875 kB / 1.487 GB, free: 149.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat does not exist to compare? outputFormat=mat