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.881/1.881, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001522/0.001522, allocations: 176.6 kB / 377.1 MB, free: 1.527 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.83/1.83, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.001036/0.001036, allocations: 83.19 kB / 0.7509 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003917, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/0.9272, allocations: 175.8 MB / 1.16 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.9275, allocations: 101.2 kB / 1.16 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2317/1.159, allocations: 96.34 MB / 1.254 GB, free: 5.441 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.159, allocations: 0 / 1.254 GB, free: 5.441 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001293/1.159, allocations: 55.98 kB / 1.254 GB, free: 5.387 MB / 0.823 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.005788/1.165, allocations: 2.267 MB / 1.257 GB, free: 3.062 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.165, allocations: 15.97 kB / 1.257 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007962/1.166, allocations: 403.5 kB / 1.257 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/1.17, allocations: 0.7385 MB / 1.258 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003965/1.174, allocations: 1.46 MB / 1.259 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/1.175, allocations: 197.1 kB / 1.259 GB, free: 212 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007452/1.175, allocations: 252 kB / 1.26 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008473/1.184, allocations: 4.19 MB / 1.264 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/1.184, allocations: 7.938 kB / 1.264 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/1.184, allocations: 112 kB / 1.264 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/1.184, allocations: 156.3 kB / 1.264 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005833/1.19, allocations: 3.458 MB / 1.267 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/1.217, allocations: 21.52 MB / 1.288 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/1.218, allocations: 0.5238 MB / 1.289 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/1.218, allocations: 12.06 kB / 1.289 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.218, allocations: 47.19 kB / 1.289 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 3.827e-06/1.218, allocations: 0 / 1.289 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56): time 0.006984/1.225, allocations: 3.999 MB / 1.293 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/1.225, allocations: 240.5 kB / 1.293 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/1.227, allocations: 1.206 MB / 1.294 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.929e-05/1.227, allocations: 37.7 kB / 1.294 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.228, allocations: 1.233 MB / 1.295 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.229, allocations: 213.2 kB / 1.296 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/1.229, allocations: 28 kB / 1.296 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002714/1.229, allocations: 410.7 kB / 1.296 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.23, allocations: 0.7767 MB / 1.297 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/1.232, allocations: 1.469 MB / 1.298 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.234, allocations: 1.062 MB / 1.299 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.234, allocations: 4 kB / 1.299 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003402/1.237, allocations: 2.34 MB / 1.302 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004667/1.242, allocations: 9.393 MB / 1.311 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-05/1.242, allocations: 27.95 kB / 1.311 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-05/1.242, allocations: 40 kB / 1.311 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/1.244, allocations: 447.2 kB / 1.311 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.301e-05/1.244, allocations: 47.8 kB / 1.311 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.246, allocations: 275.3 kB / 1.312 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.246, allocations: 83.98 kB / 1.312 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.246, allocations: 4 kB / 1.312 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003001/1.249, allocations: 2.004 MB / 1.314 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.249, allocations: 27.98 kB / 1.314 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.249, allocations: 39.94 kB / 1.314 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.25, allocations: 403.3 kB / 1.314 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/1.25, allocations: 47.84 kB / 1.314 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.251, allocations: 175.5 kB / 1.314 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.252, allocations: 80.2 kB / 1.314 GB, free: 4.449 MB / 0.8855 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.002175/1.254, allocations: 1.14 MB / 1.315 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/1.254, allocations: 110.9 kB / 1.316 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/1.256, allocations: 0.8665 MB / 1.316 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.256, allocations: 11.98 kB / 1.316 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.256, allocations: 4 kB / 1.316 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.256, allocations: 11.92 kB / 1.316 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.268, allocations: 8.122 MB / 1.324 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.268, allocations: 16.89 kB / 1.324 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/1.268, allocations: 143.7 kB / 1.324 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.143e-05/1.268, allocations: 16 kB / 1.324 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/1.269, allocations: 35.94 kB / 1.325 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-05/1.269, allocations: 19.94 kB / 1.325 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/1.269, allocations: 23.88 kB / 1.325 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/1.271, allocations: 2.439 MB / 1.327 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/1.272, allocations: 351.5 kB / 1.327 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.272, allocations: 27.95 kB / 1.327 GB, free: 6.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.273, allocations: 115.8 kB / 1.327 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.273, allocations: 71.67 kB / 1.327 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/1.273, allocations: 28 kB / 1.328 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001395/1.275, allocations: 0.9276 MB / 1.328 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.21e-07/1.275, allocations: 0 / 1.328 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003309/1.278, allocations: 0.8203 MB / 1.329 GB, free: 4.469 MB / 0.9011 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.004085/1.282, allocations: 6.498 MB / 1.336 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003926/1.286, allocations: 2.547 MB / 1.338 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.286, allocations: 0 / 1.338 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/1.287, allocations: 458.2 kB / 1.338 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.288, allocations: 211.7 kB / 1.339 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4387/1.727, allocations: 26.51 MB / 1.365 GB, free: 215 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.729, allocations: 2.035 MB / 1.367 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002149/1.731, allocations: 0.8049 MB / 1.367 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.732, allocations: 0.7188 MB / 1.368 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.053e-06/1.732, allocations: 3.594 kB / 1.368 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/1.781, allocations: 27.81 MB / 1.395 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.781, allocations: 224 kB / 1.395 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/4.5, allocations: 0 / 1.395 GB, free: 213.2 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)