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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.0009897/0.0009894, allocations: 188.8 kB / 366.7 MB, free: 1.664 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.444/1.444, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008079/0.0008078, allocations: 85.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.015e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7061, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.9499, allocations: 175 MB / 1.144 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.9503, allocations: 103 kB / 1.144 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2428/1.193, allocations: 95.47 MB / 1.238 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/1.193, allocations: 3.938 kB / 1.238 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002484/1.193, allocations: 59.98 kB / 1.238 GB, free: 6.715 MB / 0.8386 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.01201/1.205, allocations: 2.174 MB / 1.24 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.304e-05/1.206, allocations: 19.97 kB / 1.24 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/1.212, allocations: 0.7423 MB / 1.24 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/1.216, allocations: 1.453 MB / 1.242 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/1.216, allocations: 84 kB / 1.242 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/1.218, allocations: 144 kB / 1.242 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008018/1.226, allocations: 2.966 MB / 1.245 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/1.237, allocations: 3.778 MB / 1.249 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/1.237, allocations: 11.88 kB / 1.249 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008706/1.238, allocations: 8 kB / 1.249 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/1.239, allocations: 160.3 kB / 1.249 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6684/1.907, allocations: 20.69 MB / 1.269 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/1.908, allocations: 0.5119 MB / 1.27 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/1.909, allocations: 491.2 kB / 1.27 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/1.909, allocations: 12.78 kB / 1.27 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.909, allocations: 46.56 kB / 1.27 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 3.206e-06/1.909, allocations: 0 / 1.27 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56): time 0.00588/1.915, allocations: 3.567 MB / 1.274 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/1.915, allocations: 245.1 kB / 1.274 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/1.917, allocations: 1.109 MB / 1.275 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/1.917, allocations: 26.42 kB / 1.275 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.918, allocations: 1.23 MB / 1.276 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.918, allocations: 207.4 kB / 1.276 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/1.918, allocations: 1.641 kB / 1.276 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002513/1.918, allocations: 409.3 kB / 1.277 GB, free: 187 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.92, allocations: 0.731 MB / 1.277 GB, free: 187 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.922, allocations: 1.422 MB / 1.279 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/1.924, allocations: 1.101 MB / 1.28 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.924, allocations: 14.34 kB / 1.28 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004252/1.928, allocations: 2.212 MB / 1.282 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002686/1.931, allocations: 9.399 MB / 1.291 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-05/1.931, allocations: 24.5 kB / 1.291 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/1.931, allocations: 39.98 kB / 1.291 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.933, allocations: 446.1 kB / 1.292 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.786e-05/1.933, allocations: 48.02 kB / 1.292 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.935, allocations: 249.7 kB / 1.292 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.935, allocations: 85.89 kB / 1.292 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.935, allocations: 3.781 kB / 1.292 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003344/1.939, allocations: 1.864 MB / 1.294 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/1.939, allocations: 24.44 kB / 1.294 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.835e-05/1.939, allocations: 36.22 kB / 1.294 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.94, allocations: 408.5 kB / 1.294 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.508e-05/1.94, allocations: 47.3 kB / 1.294 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.941, allocations: 160 kB / 1.295 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.942, allocations: 79.59 kB / 1.295 GB, free: 176.2 MB / 0.8542 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.0003893/1.942, allocations: 166.9 kB / 1.295 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008149/1.943, allocations: 95.83 kB / 1.295 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/1.944, allocations: 0.8343 MB / 1.296 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.945, allocations: 11.67 kB / 1.296 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.945, allocations: 2.25 kB / 1.296 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.945, allocations: 4.969 kB / 1.296 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/1.957, allocations: 7.372 MB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/1.957, allocations: 13.19 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.958, allocations: 141.2 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/1.958, allocations: 16.97 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/1.958, allocations: 18.7 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-05/1.958, allocations: 26.72 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-05/1.958, allocations: 18 kB / 1.303 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/1.961, allocations: 2.384 MB / 1.305 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/1.962, allocations: 338.2 kB / 1.306 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.962, allocations: 20.48 kB / 1.306 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.963, allocations: 104.9 kB / 1.306 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.963, allocations: 76.08 kB / 1.306 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/1.963, allocations: 29.47 kB / 1.306 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001432/1.965, allocations: 0.8413 MB / 1.307 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/1.965, allocations: 0 / 1.307 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004563/1.969, allocations: 0.7502 MB / 1.308 GB, free: 172.6 MB / 0.8542 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.0003181/1.97, allocations: 140 kB / 1.308 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004994/1.975, allocations: 2.39 MB / 1.31 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.975, allocations: 5.156 kB / 1.31 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007348/1.976, allocations: 424.7 kB / 1.31 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.977, allocations: 206.9 kB / 1.311 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/1.985, allocations: 3.395 MB / 1.314 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.988, allocations: 2.038 MB / 1.316 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003122/1.991, allocations: 0.8578 MB / 1.317 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/1.991, allocations: 73.89 kB / 1.317 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.668e-06/1.991, allocations: 0 / 1.317 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03346/2.024, allocations: 12.98 MB / 1.33 GB, free: 170.1 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (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 & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)