Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 289.7 MB / 302.3 MB, free: 2.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 184.2 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009826/0.0009829, allocations: 92.73 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.632e-05/5.642e-05, allocations: 11.98 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.375, allocations: 175.7 MB / 1.151 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004418/1.375, allocations: 103.8 kB / 1.152 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2604/1.636, allocations: 95.87 MB / 1.245 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.667e-06/1.636, allocations: 0 / 1.245 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001594/1.636, allocations: 52 kB / 1.245 GB, free: 2.707 MB / 0.8073 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.00741/1.643, allocations: 2.174 MB / 1.247 GB, free: 492 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/1.643, allocations: 15.97 kB / 1.247 GB, free: 476 kB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009651/1.644, allocations: 403.5 kB / 1.248 GB, free: 64 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/1.649, allocations: 0.7419 MB / 1.249 GB, free: 15.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/1.653, allocations: 1.457 MB / 1.25 GB, free: 13.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.653, allocations: 193.1 kB / 1.25 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004904/1.653, allocations: 252 kB / 1.25 GB, free: 13.38 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008838/1.662, allocations: 4.144 MB / 1.254 GB, free: 9.039 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/1.662, allocations: 15.88 kB / 1.254 GB, free: 9.023 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/1.663, allocations: 112 kB / 1.255 GB, free: 8.914 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/1.663, allocations: 160.3 kB / 1.255 GB, free: 8.754 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/1.669, allocations: 3.396 MB / 1.258 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/1.698, allocations: 21.51 MB / 1.279 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/1.699, allocations: 0.52 MB / 1.28 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008465/1.7, allocations: 0.4986 MB / 1.28 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.148e-05/1.7, allocations: 12.61 kB / 1.28 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/1.7, allocations: 46.5 kB / 1.28 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 6.312e-06/1.7, allocations: 4 kB / 1.28 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56): time 0.008038/1.708, allocations: 3.629 MB / 1.284 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/1.709, allocations: 243.3 kB / 1.284 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.711, allocations: 1.192 MB / 1.285 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/1.711, allocations: 33.7 kB / 1.285 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.712, allocations: 1.234 MB / 1.286 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/1.713, allocations: 209.3 kB / 1.286 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/1.713, allocations: 31.94 kB / 1.286 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002772/1.713, allocations: 410.7 kB / 1.287 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.714, allocations: 0.7613 MB / 1.288 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/1.716, allocations: 1.462 MB / 1.289 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.718, allocations: 1.054 MB / 1.29 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/1.718, allocations: 8 kB / 1.29 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003589/1.721, allocations: 2.312 MB / 1.292 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004485/1.726, allocations: 9.393 MB / 1.301 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/1.726, allocations: 24 kB / 1.302 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.997e-05/1.726, allocations: 36 kB / 1.302 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.728, allocations: 447.2 kB / 1.302 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.055e-05/1.728, allocations: 47.84 kB / 1.302 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.73, allocations: 287.2 kB / 1.302 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.73, allocations: 87.97 kB / 1.302 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.73, allocations: 7.938 kB / 1.302 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00391/1.734, allocations: 1.979 MB / 1.304 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-05/1.734, allocations: 24.97 kB / 1.304 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.836e-05/1.734, allocations: 40 kB / 1.304 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.736, allocations: 407.3 kB / 1.305 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.722e-05/1.736, allocations: 51.78 kB / 1.305 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.737, allocations: 179.5 kB / 1.305 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/1.737, allocations: 83.98 kB / 1.305 GB, free: 1.883 MB / 0.8698 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.0005546/1.738, allocations: 201.9 kB / 1.305 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/1.739, allocations: 110.6 kB / 1.305 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/1.74, allocations: 0.8642 MB / 1.306 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.74, allocations: 8 kB / 1.306 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/1.74, allocations: 4 kB / 1.306 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.74, allocations: 7.938 kB / 1.306 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/1.756, allocations: 8.126 MB / 1.314 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/1.756, allocations: 12 kB / 1.314 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/1.756, allocations: 139.8 kB / 1.314 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/1.757, allocations: 16 kB / 1.314 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/1.757, allocations: 24 kB / 1.314 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.668e-05/1.757, allocations: 27.83 kB / 1.314 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/1.757, allocations: 19.92 kB / 1.314 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.759, allocations: 2.436 MB / 1.317 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/1.76, allocations: 351.5 kB / 1.317 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/1.761, allocations: 24 kB / 1.317 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.762, allocations: 111.8 kB / 1.317 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.762, allocations: 79.69 kB / 1.317 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/1.762, allocations: 28 kB / 1.317 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001744/1.764, allocations: 0.9088 MB / 1.318 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/1.764, allocations: 0 / 1.318 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004617/1.768, allocations: 0.8164 MB / 1.319 GB, free: 2.898 MB / 0.8855 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.004189/1.773, allocations: 6.503 MB / 1.325 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004286/1.777, allocations: 2.535 MB / 1.328 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.777, allocations: 0 / 1.328 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/1.778, allocations: 454.3 kB / 1.328 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.779, allocations: 223.9 kB / 1.328 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.79, allocations: 4.101 MB / 1.332 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/1.792, allocations: 2.039 MB / 1.334 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0024/1.794, allocations: 0.8599 MB / 1.335 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.795, allocations: 0.7141 MB / 1.336 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/1.795, allocations: 0 / 1.336 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/1.855, allocations: 29.02 MB / 1.364 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/1.855, allocations: 183.5 kB / 1.365 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.738, allocations: 0 / 1.365 GB, free: 3.855 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)