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.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001205/0.001205, allocations: 180 kB / 0.4901 GB, free: 2.242 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.72/1.72, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009632/0.0009632, allocations: 94.95 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 11.73 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2521, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.4532, allocations: 187.1 MB / 1.412 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4536, allocations: 103.9 kB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7768/1.23, allocations: 103 MB / 1.513 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.773e-06/1.23, allocations: 0 / 1.513 GB, free: 132.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001426/1.231, allocations: 63.92 kB / 1.513 GB, free: 132.9 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006701/1.237, allocations: 2.265 MB / 1.515 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.237, allocations: 8.031 kB / 1.515 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/1.239, allocations: 403.5 kB / 1.515 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/1.243, allocations: 0.7423 MB / 1.516 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/1.247, allocations: 1.469 MB / 1.518 GB, free: 127.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.247, allocations: 193.2 kB / 1.518 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009792/1.248, allocations: 256 kB / 1.518 GB, free: 127.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008335/1.256, allocations: 4.186 MB / 1.522 GB, free: 123 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/1.257, allocations: 7.938 kB / 1.522 GB, free: 123 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/1.257, allocations: 112 kB / 1.522 GB, free: 122.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/1.257, allocations: 164.2 kB / 1.522 GB, free: 122.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/1.263, allocations: 3.45 MB / 1.526 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/1.285, allocations: 21.52 MB / 1.547 GB, free: 95.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/1.285, allocations: 0.5245 MB / 1.547 GB, free: 95.28 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/1.285, allocations: 12.06 kB / 1.547 GB, free: 95.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.285, allocations: 54.44 kB / 1.547 GB, free: 95.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=50): time 2.775e-06/1.285, allocations: 0 / 1.547 GB, free: 95.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=56): time 0.005946/1.291, allocations: 3.992 MB / 1.551 GB, free: 91.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/1.291, allocations: 247.2 kB / 1.551 GB, free: 90.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/1.293, allocations: 1.202 MB / 1.553 GB, free: 89.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/1.293, allocations: 42.58 kB / 1.553 GB, free: 89.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/1.293, allocations: 1.23 MB / 1.554 GB, free: 88.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.294, allocations: 217.3 kB / 1.554 GB, free: 88.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/1.294, allocations: 28 kB / 1.554 GB, free: 88.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.294, allocations: 410.7 kB / 1.554 GB, free: 87.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000932/1.295, allocations: 0.7729 MB / 1.555 GB, free: 86.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.296, allocations: 1.473 MB / 1.557 GB, free: 85.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.297, allocations: 1.061 MB / 1.558 GB, free: 84.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.297, allocations: 4 kB / 1.558 GB, free: 84.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002752/1.3, allocations: 2.332 MB / 1.56 GB, free: 81.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.301, allocations: 9.404 MB / 1.569 GB, free: 71.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/1.301, allocations: 24 kB / 1.569 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/1.301, allocations: 36 kB / 1.569 GB, free: 71.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.303, allocations: 447.2 kB / 1.57 GB, free: 71.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.661e-05/1.303, allocations: 43.86 kB / 1.57 GB, free: 71.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.305, allocations: 279.3 kB / 1.57 GB, free: 70.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.305, allocations: 87.97 kB / 1.57 GB, free: 70.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.305, allocations: 4 kB / 1.57 GB, free: 70.66 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/1.307, allocations: 2.004 MB / 1.572 GB, free: 68.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/1.307, allocations: 24 kB / 1.572 GB, free: 68.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.307, allocations: 40.12 kB / 1.572 GB, free: 68.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.309, allocations: 407.3 kB / 1.572 GB, free: 68.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/1.309, allocations: 51.8 kB / 1.572 GB, free: 68.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.31, allocations: 183.5 kB / 1.573 GB, free: 67.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.31, allocations: 87.88 kB / 1.573 GB, free: 67.88 MB / 0.9167 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 () * Number of clocked 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.001652/1.312, allocations: 1.129 MB / 1.574 GB, free: 66.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/1.312, allocations: 110.7 kB / 1.574 GB, free: 66.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.313, allocations: 0.8661 MB / 1.575 GB, free: 65.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.313, allocations: 8 kB / 1.575 GB, free: 65.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.313, allocations: 0 / 1.575 GB, free: 65.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.313, allocations: 7.984 kB / 1.575 GB, free: 65.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009361/1.323, allocations: 8.138 MB / 1.583 GB, free: 57.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.323, allocations: 12.38 kB / 1.583 GB, free: 57.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/1.323, allocations: 135.8 kB / 1.583 GB, free: 57.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.323, allocations: 16 kB / 1.583 GB, free: 57.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.323, allocations: 24 kB / 1.583 GB, free: 57.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.323, allocations: 27.86 kB / 1.583 GB, free: 57.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.323, allocations: 20.44 kB / 1.583 GB, free: 57.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/1.325, allocations: 2.436 MB / 1.585 GB, free: 54.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/1.326, allocations: 347.5 kB / 1.586 GB, free: 53.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/1.326, allocations: 27.98 kB / 1.586 GB, free: 53.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.327, allocations: 111.8 kB / 1.586 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/1.327, allocations: 75.67 kB / 1.586 GB, free: 53.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/1.327, allocations: 28 kB / 1.586 GB, free: 53.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001103/1.328, allocations: 0.9276 MB / 1.587 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.328, allocations: 0 / 1.587 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00322/1.331, allocations: 0.8124 MB / 1.588 GB, free: 51.95 MB / 0.9167 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 () * Number of clocked 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.002231/1.334, allocations: 6.513 MB / 1.594 GB, free: 45.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003178/1.337, allocations: 2.541 MB / 1.596 GB, free: 42.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.337, allocations: 7.938 kB / 1.596 GB, free: 42.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/1.337, allocations: 450.4 kB / 1.597 GB, free: 42.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.339, allocations: 220.1 kB / 1.597 GB, free: 41.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.355, allocations: 26.51 MB / 1.623 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.357, allocations: 2.034 MB / 1.625 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001913/1.359, allocations: 0.817 MB / 1.626 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/1.36, allocations: 0.718 MB / 1.626 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of SimCode: time 8.12e-07/1.36, allocations: 0 / 1.626 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/1.407, allocations: 27.81 MB / 1.654 GB, free: 15.42 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.408, allocations: 228.5 kB / 1.654 GB, free: 15.17 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.908, allocations: 0 / 1.654 GB, free: 15.17 MB / 0.948 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