Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.599/1.599, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001162/0.001162, allocations: 180.8 kB / 366.7 MB, free: 1.676 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.713/1.713, allocations: 205.2 MB / 0.626 GB, free: 7.105 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.0008711/0.0008711, allocations: 86.92 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.91e-05, allocations: 0 / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6574, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.8466, allocations: 158.7 MB / 1.128 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.8469, allocations: 95.92 kB / 1.128 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.8749, allocations: 12.13 MB / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8749, allocations: 0 / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.8749, allocations: 4 kB / 1.14 GB, free: 11.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005903/0.8755, allocations: 454.4 kB / 1.141 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8756, allocations: 8.031 kB / 1.141 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/0.8762, allocations: 71.73 kB / 1.141 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.8765, allocations: 226.7 kB / 1.141 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.8765, allocations: 8 kB / 1.141 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.8766, allocations: 8 kB / 1.141 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003/0.8769, allocations: 160.2 kB / 1.141 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.8772, allocations: 256.2 kB / 1.141 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8773, allocations: 4 kB / 1.141 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.8773, allocations: 0 / 1.141 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.8773, allocations: 16.22 kB / 1.141 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.879, allocations: 1.541 MB / 1.143 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.8791, allocations: 69.14 kB / 1.143 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.8792, allocations: 45.81 kB / 1.143 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.8792, allocations: 3.938 kB / 1.143 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8792, allocations: 40.19 kB / 1.143 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8792, allocations: 0 / 1.143 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.8797, allocations: 172.6 kB / 1.143 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.8797, allocations: 81.11 kB / 1.143 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.8799, allocations: 189.6 kB / 1.143 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.8799, allocations: 25.7 kB / 1.143 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.88, allocations: 167.5 kB / 1.144 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.8801, allocations: 31.66 kB / 1.144 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.8801, allocations: 0 / 1.144 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8802, allocations: 322.8 kB / 1.144 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.8803, allocations: 71.44 kB / 1.144 GB, free: 7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.8805, allocations: 161.1 kB / 1.144 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.8807, allocations: 105.6 kB / 1.144 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8807, allocations: 4 kB / 1.144 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004086/0.8811, allocations: 249.2 kB / 1.144 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/0.8815, allocations: 1.147 MB / 1.146 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8815, allocations: 0 / 1.146 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8816, allocations: 8.047 kB / 1.146 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.8818, allocations: 59.88 kB / 1.146 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8818, allocations: 4 kB / 1.146 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.882, allocations: 23.88 kB / 1.146 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.882, allocations: 12 kB / 1.146 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.8821, allocations: 4 kB / 1.146 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003099/0.8824, allocations: 191.6 kB / 1.146 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8824, allocations: 4 kB / 1.146 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.8824, allocations: 8.312 kB / 1.146 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.8826, allocations: 54.53 kB / 1.146 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8826, allocations: 4 kB / 1.146 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.8827, allocations: 11.98 kB / 1.146 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.8828, allocations: 8 kB / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 7.726e-05/0.8828, allocations: 120.8 kB / 1.146 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.8829, allocations: 15.81 kB / 1.146 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.8831, allocations: 111.2 kB / 1.146 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8831, allocations: 0 / 1.146 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8831, allocations: 4 kB / 1.146 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8831, allocations: 4 kB / 1.146 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.8837, allocations: 0.5656 MB / 1.147 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8837, allocations: 12.23 kB / 1.147 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.8838, allocations: 15.94 kB / 1.147 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.8838, allocations: 4 kB / 1.147 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.8838, allocations: 3.984 kB / 1.147 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.8839, allocations: 4 kB / 1.147 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8839, allocations: 3.953 kB / 1.147 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.8841, allocations: 411.7 kB / 1.147 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.8842, allocations: 101 kB / 1.147 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.8843, allocations: 2 kB / 1.147 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.8844, allocations: 15.94 kB / 1.147 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.8845, allocations: 15.45 kB / 1.147 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.8845, allocations: 4 kB / 1.147 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001289/0.8846, allocations: 155.1 kB / 1.147 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8846, allocations: 0 / 1.147 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00049/0.8851, allocations: 75.94 kB / 1.148 GB, free: 3.035 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001733/0.8853, allocations: 127.1 kB / 1.148 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.8857, allocations: 242.1 kB / 1.148 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8857, allocations: 4.5 kB / 1.148 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.8857, allocations: 39.92 kB / 1.148 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.886, allocations: 30.81 kB / 1.148 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.8865, allocations: 271.8 kB / 1.148 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8869, allocations: 0.7334 MB / 1.149 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.8871, allocations: 69.78 kB / 1.149 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.8872, allocations: 15.44 kB / 1.149 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8872, allocations: 4 kB / 1.149 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of Templates: time 0.00393/0.8911, allocations: 1.604 MB / 1.151 GB, free: 15.9 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)