Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.25/2.25, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001093/0.001093, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.605/1.605, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 95.84 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.73e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3353, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.428, allocations: 191.1 MB / 1.393 GB, free: 13.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/1.428, allocations: 96.06 kB / 1.393 GB, free: 13.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2767/1.705, allocations: 118.5 MB / 1.509 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.984e-06/1.705, allocations: 0 / 1.509 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001496/1.705, allocations: 71.92 kB / 1.509 GB, free: 8.816 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007975/1.713, allocations: 2.411 MB / 1.511 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.713, allocations: 8.031 kB / 1.511 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/1.718, allocations: 0.6991 MB / 1.512 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/1.724, allocations: 1.613 MB / 1.513 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/1.724, allocations: 92 kB / 1.513 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/1.726, allocations: 168 kB / 1.513 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01028/1.737, allocations: 3.206 MB / 1.517 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/1.751, allocations: 4.119 MB / 1.521 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/1.751, allocations: 7.938 kB / 1.521 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/1.752, allocations: 4 kB / 1.521 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003966/1.752, allocations: 180.7 kB / 1.521 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/1.789, allocations: 22.14 MB / 1.542 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/1.792, allocations: 1.518 MB / 1.544 GB, free: 2.211 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/1.794, allocations: 1.006 MB / 1.545 GB, free: 1.195 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/1.794, allocations: 93.66 kB / 1.545 GB, free: 1.086 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.794, allocations: 43.12 kB / 1.545 GB, free: 1.035 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 6.151e-06/1.794, allocations: 7.938 kB / 1.545 GB, free: 1.027 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.007023/1.801, allocations: 2.92 MB / 1.548 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/1.801, allocations: 141.1 kB / 1.548 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/1.803, allocations: 0.8044 MB / 1.549 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/1.803, allocations: 29.7 kB / 1.549 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009922/1.804, allocations: 1.204 MB / 1.55 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/1.804, allocations: 256.2 kB / 1.55 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/1.804, allocations: 4.281 kB / 1.55 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002719/1.804, allocations: 398.7 kB / 1.551 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.806, allocations: 0.7444 MB / 1.551 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.807, allocations: 1.238 MB / 1.553 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/1.809, allocations: 1.05 MB / 1.554 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.809, allocations: 4 kB / 1.554 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003689/1.813, allocations: 2.097 MB / 1.556 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003/1.816, allocations: 5.492 MB / 1.561 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/1.816, allocations: 16 kB / 1.561 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.366e-05/1.816, allocations: 24 kB / 1.561 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.818, allocations: 415.3 kB / 1.561 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-05/1.818, allocations: 31.86 kB / 1.561 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.819, allocations: 239.3 kB / 1.562 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.82, allocations: 55.98 kB / 1.562 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.82, allocations: 4 kB / 1.562 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002946/1.823, allocations: 1.662 MB / 1.563 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/1.823, allocations: 16.95 kB / 1.563 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/1.823, allocations: 27.94 kB / 1.563 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.824, allocations: 371.4 kB / 1.564 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.102e-05/1.824, allocations: 35.81 kB / 1.564 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.825, allocations: 147.4 kB / 1.564 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.825, allocations: 55.98 kB / 1.564 GB, free: 12.81 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0004174/1.826, allocations: 152.5 kB / 1.564 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002559/1.828, allocations: 1.411 MB / 1.566 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/1.829, allocations: 90.88 kB / 1.566 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/1.832, allocations: 1.48 MB / 1.567 GB, free: 9.656 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.832, allocations: 8 kB / 1.567 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.832, allocations: 4 kB / 1.567 GB, free: 9.645 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.832, allocations: 3.984 kB / 1.567 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.843, allocations: 6.511 MB / 1.573 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.843, allocations: 8 kB / 1.573 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.844, allocations: 267.5 kB / 1.574 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.278e-05/1.844, allocations: 16 kB / 1.574 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.845, allocations: 12 kB / 1.574 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-05/1.845, allocations: 20.03 kB / 1.574 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/1.845, allocations: 15.88 kB / 1.574 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/1.848, allocations: 2.405 MB / 1.576 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008713/1.849, allocations: 367.7 kB / 1.576 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.849, allocations: 15.98 kB / 1.576 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.85, allocations: 131.7 kB / 1.577 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.851, allocations: 71.75 kB / 1.577 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/1.851, allocations: 36 kB / 1.577 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001024/1.852, allocations: 0.5928 MB / 1.577 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.852, allocations: 0 / 1.577 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003837/1.855, allocations: 0.7617 MB / 1.578 GB, free: 13.86 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.004839/1.86, allocations: 5.532 MB / 1.583 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003956/1.864, allocations: 2.519 MB / 1.586 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/1.864, allocations: 4.375 kB / 1.586 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009788/1.865, allocations: 0.6983 MB / 1.587 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.867, allocations: 235.3 kB / 1.587 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.879, allocations: 4.527 MB / 1.591 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/1.882, allocations: 2.172 MB / 1.593 GB, free: 13.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002543/1.885, allocations: 0.765 MB / 1.594 GB, free: 12.94 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.886, allocations: 0.8 MB / 1.595 GB, free: 12.14 MB / 1.01 GB Notification: Performance of SimCode: time 1.363e-06/1.886, allocations: 4 kB / 1.595 GB, free: 12.13 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/1.958, allocations: 29.94 MB / 1.624 GB, free: 14.35 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/1.959, allocations: 161.2 kB / 1.624 GB, free: 14.15 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/4.432, allocations: 0 / 1.624 GB, free: 14.15 MB / 1.042 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat