Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.486/2.486, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001015/0.001016, allocations: 172.9 kB / 492.3 MB, free: 0.5898 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.571/1.571, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001018/0.001018, allocations: 98.22 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.348e-05, allocations: 0 / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.415, allocations: 192.5 MB / 1.4 GB, free: 7.262 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.416, allocations: 101.5 kB / 1.401 GB, free: 7.203 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4223/1.838, allocations: 169.8 MB / 1.566 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.853e-06/1.838, allocations: 0 / 1.566 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003674/1.838, allocations: 95.98 kB / 1.566 GB, free: 11.45 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01447/1.853, allocations: 3.346 MB / 1.57 GB, free: 8.039 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.853, allocations: 12.03 kB / 1.57 GB, free: 8.027 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003657/1.857, allocations: 0.6363 MB / 1.57 GB, free: 7.379 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006822/1.863, allocations: 0.9589 MB / 1.571 GB, free: 6.414 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00694/1.87, allocations: 2.287 MB / 1.574 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/1.871, allocations: 328.6 kB / 1.574 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/1.873, allocations: 424 kB / 1.574 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/1.899, allocations: 6.61 MB / 1.581 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002567/1.899, allocations: 7.938 kB / 1.581 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.901, allocations: 183.9 kB / 1.581 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/1.901, allocations: 263 kB / 1.581 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/1.914, allocations: 5.224 MB / 1.586 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04349/1.958, allocations: 32.47 MB / 1.618 GB, free: 3.496 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/1.961, allocations: 1.849 MB / 1.62 GB, free: 1.609 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/1.962, allocations: 1.08 MB / 1.621 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/1.962, allocations: 101.9 kB / 1.621 GB, free: 408 kB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.962, allocations: 47.38 kB / 1.621 GB, free: 352 kB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 3.326e-06/1.962, allocations: 3.938 kB / 1.621 GB, free: 348 kB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.006275/1.969, allocations: 4.028 MB / 1.625 GB, free: 12.26 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/1.969, allocations: 153.2 kB / 1.625 GB, free: 12.08 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.971, allocations: 1.446 MB / 1.626 GB, free: 10.63 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.77e-05/1.971, allocations: 41.7 kB / 1.627 GB, free: 10.58 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.972, allocations: 1.897 MB / 1.628 GB, free: 8.656 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/1.973, allocations: 339.5 kB / 1.629 GB, free: 8.32 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.973, allocations: 40 kB / 1.629 GB, free: 8.281 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.973, allocations: 394 kB / 1.629 GB, free: 7.891 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.975, allocations: 1.09 MB / 1.63 GB, free: 6.797 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.977, allocations: 2.145 MB / 1.632 GB, free: 4.129 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/1.979, allocations: 1.516 MB / 1.634 GB, free: 2.613 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.979, allocations: 8 kB / 1.634 GB, free: 2.605 MB / 1.042 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004989/1.984, allocations: 3.265 MB / 1.637 GB, free: 15.33 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.006547/1.991, allocations: 13.43 MB / 1.65 GB, free: 0.8555 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.991, allocations: 36 kB / 1.65 GB, free: 0.8203 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/1.991, allocations: 56 kB / 1.65 GB, free: 0.7656 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.994, allocations: 0.6239 MB / 1.651 GB, free: 144 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/1.994, allocations: 71.72 kB / 1.651 GB, free: 72 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.997, allocations: 366.9 kB / 1.651 GB, free: 15.71 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/1.998, allocations: 116 kB / 1.651 GB, free: 15.59 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.998, allocations: 10.28 kB / 1.651 GB, free: 15.59 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004814/2.003, allocations: 2.707 MB / 1.654 GB, free: 12.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/2.003, allocations: 40.06 kB / 1.654 GB, free: 12.84 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/2.003, allocations: 48 kB / 1.654 GB, free: 12.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/2.005, allocations: 0.5576 MB / 1.655 GB, free: 12.23 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.901e-05/2.005, allocations: 75.55 kB / 1.655 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/2.007, allocations: 251.1 kB / 1.655 GB, free: 11.91 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/2.007, allocations: 112 kB / 1.655 GB, free: 11.8 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0005407/2.007, allocations: 249.2 kB / 1.655 GB, free: 11.55 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/2.008, allocations: 158 kB / 1.655 GB, free: 11.4 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/2.011, allocations: 1.889 MB / 1.657 GB, free: 9.496 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/2.011, allocations: 12 kB / 1.657 GB, free: 9.484 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/2.011, allocations: 3.953 kB / 1.657 GB, free: 9.48 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/2.011, allocations: 7.984 kB / 1.657 GB, free: 9.473 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/2.026, allocations: 7.72 MB / 1.665 GB, free: 1.582 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/2.026, allocations: 8 kB / 1.665 GB, free: 1.574 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/2.027, allocations: 335.4 kB / 1.665 GB, free: 1.246 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.189e-05/2.027, allocations: 19.95 kB / 1.665 GB, free: 1.227 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/2.027, allocations: 31.92 kB / 1.665 GB, free: 1.195 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/2.027, allocations: 11.94 kB / 1.665 GB, free: 1.184 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/2.027, allocations: 11.94 kB / 1.665 GB, free: 1.172 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/2.031, allocations: 2.714 MB / 1.668 GB, free: 14.16 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/2.032, allocations: 455 kB / 1.668 GB, free: 13.69 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/2.032, allocations: 31.94 kB / 1.668 GB, free: 13.66 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/2.034, allocations: 167.7 kB / 1.668 GB, free: 13.5 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/2.034, allocations: 68.38 kB / 1.669 GB, free: 13.43 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/2.034, allocations: 32 kB / 1.669 GB, free: 13.4 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002197/2.037, allocations: 1.076 MB / 1.67 GB, free: 12.32 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.9e-07/2.037, allocations: 0 / 1.67 GB, free: 12.32 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.005857/2.042, allocations: 1.234 MB / 1.671 GB, free: 11.09 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.004768/2.047, allocations: 5.204 MB / 1.676 GB, free: 5.668 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.006364/2.054, allocations: 3.806 MB / 1.68 GB, free: 1.875 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/2.054, allocations: 0 / 1.68 GB, free: 1.875 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/2.055, allocations: 0.8671 MB / 1.68 GB, free: 1 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/2.057, allocations: 371 kB / 1.681 GB, free: 0.6445 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/2.076, allocations: 6.555 MB / 1.687 GB, free: 9.949 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/2.08, allocations: 2.926 MB / 1.69 GB, free: 6.992 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.003766/2.084, allocations: 1.258 MB / 1.691 GB, free: 5.727 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/2.086, allocations: 1.276 MB / 1.693 GB, free: 4.449 MB / 1.104 GB Notification: Performance of SimCode: time 6.22e-07/2.086, allocations: 4 kB / 1.693 GB, free: 4.445 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08457/2.171, allocations: 47.3 MB / 1.739 GB, free: 5.512 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/2.171, allocations: 169.2 kB / 1.739 GB, free: 5.289 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/5.057, allocations: 2.375 kB / 1.739 GB, free: 5.289 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat