Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.642/1.642, allocations: 297.8 MB / 313.7 MB, free: 64 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 172.6 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 0.6626 GB, free: 4.195 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007865/0.0007864, allocations: 95.14 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 12 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5913, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.7882, allocations: 167.9 MB / 1.19 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.7885, allocations: 97.02 kB / 1.19 GB, free: 9.789 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.09222/0.8807, allocations: 40.87 MB / 1.23 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8808, allocations: 4 kB / 1.23 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.348e-05/0.8808, allocations: 20 kB / 1.23 GB, free: 0.9414 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001861/0.8827, allocations: 0.9433 MB / 1.231 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8828, allocations: 8.031 kB / 1.231 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.8843, allocations: 223.7 kB / 1.231 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.8853, allocations: 0.557 MB / 1.232 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.8854, allocations: 50.98 kB / 1.232 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.8855, allocations: 68.27 kB / 1.232 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.887, allocations: 1.096 MB / 1.233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.887, allocations: 4.188 kB / 1.233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.8871, allocations: 39.92 kB / 1.233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.8872, allocations: 57.27 kB / 1.233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.8882, allocations: 0.6917 MB / 1.234 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.8928, allocations: 5.767 MB / 1.24 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.8936, allocations: 0.5982 MB / 1.24 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.8942, allocations: 407.7 kB / 1.241 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.8943, allocations: 4 kB / 1.241 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.8943, allocations: 42.55 kB / 1.241 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.8943, allocations: 2.25 kB / 1.241 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42): time 0.003977/0.8983, allocations: 2.04 MB / 1.243 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.8984, allocations: 63.34 kB / 1.243 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.8988, allocations: 462.8 kB / 1.243 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.8989, allocations: 33.64 kB / 1.243 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.8991, allocations: 383.3 kB / 1.243 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.8992, allocations: 145.8 kB / 1.244 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.8992, allocations: 16 kB / 1.244 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8994, allocations: 362.8 kB / 1.244 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.8997, allocations: 244.9 kB / 1.244 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.9002, allocations: 428.2 kB / 1.245 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.901, allocations: 0.7171 MB / 1.245 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.901, allocations: 0 / 1.245 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001673/0.9027, allocations: 1.011 MB / 1.246 GB, free: 15.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.9027, allocations: 8 kB / 1.246 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9027, allocations: 8.75 kB / 1.246 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.9036, allocations: 323.1 kB / 1.247 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.9039, allocations: 99.75 kB / 1.247 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.9102, allocations: 7.099 MB / 1.254 GB, free: 7.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.9106, allocations: 27.98 kB / 1.254 GB, free: 7.383 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.9107, allocations: 28.69 kB / 1.254 GB, free: 7.355 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.911, allocations: 246.2 kB / 1.254 GB, free: 7.105 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.9112, allocations: 63.25 kB / 1.254 GB, free: 7.043 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.9127, allocations: 0.9 MB / 1.255 GB, free: 6.117 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.9127, allocations: 4 kB / 1.255 GB, free: 6.113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9127, allocations: 4 kB / 1.255 GB, free: 6.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.9128, allocations: 3.984 kB / 1.255 GB, free: 6.105 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.9155, allocations: 1.87 MB / 1.257 GB, free: 4.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9155, allocations: 1 kB / 1.257 GB, free: 4.129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.9156, allocations: 39.97 kB / 1.257 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007788/0.9164, allocations: 283.2 kB / 1.257 GB, free: 3.801 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.9165, allocations: 12 kB / 1.257 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005888/0.9224, allocations: 6.831 MB / 1.264 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9224, allocations: 9.906 kB / 1.264 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.9239, allocations: 0.9409 MB / 1.265 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.9242, allocations: 184.3 kB / 1.265 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.9243, allocations: 12 kB / 1.265 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.9245, allocations: 19.97 kB / 1.265 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.9246, allocations: 39.83 kB / 1.265 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.9247, allocations: 16 kB / 1.265 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003368/0.925, allocations: 306.9 kB / 1.265 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.925, allocations: 0 / 1.265 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008591/0.9259, allocations: 202.3 kB / 1.265 GB, free: 10.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.9261, allocations: 119.1 kB / 1.265 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.9278, allocations: 1.162 MB / 1.267 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9278, allocations: 0 / 1.267 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.9289, allocations: 0.8191 MB / 1.267 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.9299, allocations: 185 kB / 1.268 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.9323, allocations: 1.468 MB / 1.269 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.9329, allocations: 0.9959 MB / 1.27 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.9333, allocations: 91.45 kB / 1.27 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.9333, allocations: 35.44 kB / 1.27 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.9333, allocations: 5.969 kB / 1.27 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of Templates: time 0.01526/0.9486, allocations: 8.856 MB / 1.279 GB, free: 12.91 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)