Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001657/0.001657, allocations: 164.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001155/0.001155, allocations: 95.88 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.167e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3489, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.552, allocations: 187.1 MB / 1.402 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.552, allocations: 96.25 kB / 1.402 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2461/1.798, allocations: 102.5 MB / 1.502 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.744e-06/1.798, allocations: 0 / 1.502 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002186/1.798, allocations: 63.98 kB / 1.502 GB, free: 15.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008646/1.807, allocations: 2.168 MB / 1.504 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.807, allocations: 16.03 kB / 1.504 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002096/1.809, allocations: 395.5 kB / 1.504 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/1.815, allocations: 0.754 MB / 1.505 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005603/1.82, allocations: 1.453 MB / 1.506 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/1.821, allocations: 189.2 kB / 1.507 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/1.822, allocations: 252 kB / 1.507 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/1.837, allocations: 4.148 MB / 1.511 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/1.837, allocations: 7.938 kB / 1.511 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/1.838, allocations: 112 kB / 1.511 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/1.839, allocations: 160.2 kB / 1.511 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/1.847, allocations: 3.4 MB / 1.515 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/1.885, allocations: 21.53 MB / 1.536 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/1.886, allocations: 0.5168 MB / 1.536 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/1.887, allocations: 0.4986 MB / 1.537 GB, free: 10 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/1.887, allocations: 11.94 kB / 1.537 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.887, allocations: 46.5 kB / 1.537 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=50): time 2.955e-06/1.887, allocations: 0 / 1.537 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of matching and sorting (n=56): time 0.009079/1.896, allocations: 3.616 MB / 1.54 GB, free: 6.266 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/1.896, allocations: 251.3 kB / 1.54 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/1.898, allocations: 1.191 MB / 1.542 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/1.898, allocations: 33.7 kB / 1.542 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.899, allocations: 1.226 MB / 1.543 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.9, allocations: 213.2 kB / 1.543 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/1.9, allocations: 35.94 kB / 1.543 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002807/1.9, allocations: 414.7 kB / 1.543 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.901, allocations: 0.7613 MB / 1.544 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.903, allocations: 1.458 MB / 1.546 GB, free: 256 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/1.905, allocations: 1.057 MB / 1.547 GB, free: 15.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/1.905, allocations: 8 kB / 1.547 GB, free: 15.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003774/1.909, allocations: 2.309 MB / 1.549 GB, free: 12.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.005675/1.914, allocations: 9.395 MB / 1.558 GB, free: 2.738 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/1.914, allocations: 24 kB / 1.558 GB, free: 2.715 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.343e-05/1.914, allocations: 40 kB / 1.558 GB, free: 2.676 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.916, allocations: 443.2 kB / 1.559 GB, free: 2.242 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.807e-05/1.916, allocations: 51.84 kB / 1.559 GB, free: 2.191 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.918, allocations: 283.1 kB / 1.559 GB, free: 1.914 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.918, allocations: 79.98 kB / 1.559 GB, free: 1.836 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.918, allocations: 7.938 kB / 1.559 GB, free: 1.828 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003227/1.922, allocations: 1.984 MB / 1.561 GB, free: 15.84 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/1.922, allocations: 24 kB / 1.561 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/1.922, allocations: 36 kB / 1.561 GB, free: 15.79 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.923, allocations: 411.3 kB / 1.561 GB, free: 15.38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/1.923, allocations: 47.8 kB / 1.561 GB, free: 15.34 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.924, allocations: 179.8 kB / 1.562 GB, free: 15.16 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.925, allocations: 87.98 kB / 1.562 GB, free: 15.07 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0003281/1.925, allocations: 204.2 kB / 1.562 GB, free: 14.87 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/1.925, allocations: 102.8 kB / 1.562 GB, free: 14.77 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.927, allocations: 0.8704 MB / 1.563 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.927, allocations: 8 kB / 1.563 GB, free: 13.88 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.927, allocations: 8 kB / 1.563 GB, free: 13.87 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.927, allocations: 0 / 1.563 GB, free: 13.87 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.939, allocations: 8.129 MB / 1.571 GB, free: 5.539 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.939, allocations: 16.92 kB / 1.571 GB, free: 5.523 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/1.94, allocations: 139.8 kB / 1.571 GB, free: 5.387 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.319e-05/1.94, allocations: 20 kB / 1.571 GB, free: 5.367 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/1.94, allocations: 24 kB / 1.571 GB, free: 5.344 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.362e-05/1.94, allocations: 27.86 kB / 1.571 GB, free: 5.316 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/1.94, allocations: 15.94 kB / 1.571 GB, free: 5.301 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/1.943, allocations: 2.431 MB / 1.573 GB, free: 2.426 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007284/1.944, allocations: 347.5 kB / 1.574 GB, free: 2.066 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/1.944, allocations: 31.94 kB / 1.574 GB, free: 2.035 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.945, allocations: 107.8 kB / 1.574 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.945, allocations: 79.7 kB / 1.574 GB, free: 1.852 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/1.945, allocations: 28 kB / 1.574 GB, free: 1.824 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001603/1.947, allocations: 0.9126 MB / 1.575 GB, free: 0.8984 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/1.947, allocations: 3.938 kB / 1.575 GB, free: 0.8945 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004121/1.951, allocations: 0.8125 MB / 1.576 GB, free: 84 kB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.00563/1.957, allocations: 6.505 MB / 1.582 GB, free: 9.207 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004743/1.961, allocations: 2.53 MB / 1.584 GB, free: 6.688 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.961, allocations: 7.938 kB / 1.584 GB, free: 6.68 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/1.962, allocations: 450.3 kB / 1.585 GB, free: 6.242 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.964, allocations: 211.5 kB / 1.585 GB, free: 6.035 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.974, allocations: 4.109 MB / 1.589 GB, free: 1.719 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002426/1.977, allocations: 2.035 MB / 1.591 GB, free: 15.65 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00252/1.979, allocations: 0.8638 MB / 1.592 GB, free: 14.79 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.98, allocations: 0.7141 MB / 1.593 GB, free: 14.07 MB / 1.057 GB Notification: Performance of SimCode: time 1.784e-06/1.98, allocations: 4 kB / 1.593 GB, free: 14.07 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/2.042, allocations: 29.02 MB / 1.621 GB, free: 1.344 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/2.043, allocations: 191 kB / 1.621 GB, free: 1.121 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/4.757, allocations: 1.547 kB / 1.621 GB, free: 1.121 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat