Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 293 MB / 309 MB, free: 4.812 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.001102/0.001103, allocations: 175.7 kB / 378.7 MB, free: 1.004 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.78/1.78, allocations: 205.4 MB / 0.6383 GB, free: 8.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.0008/0.0008001, allocations: 86.31 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 15.98 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6703/0.9221, allocations: 181 MB / 1.167 GB, free: 456 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/0.9226, allocations: 100.5 kB / 1.167 GB, free: 356 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2343/1.157, allocations: 77.93 MB / 1.243 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.925e-06/1.157, allocations: 0 / 1.243 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001581/1.157, allocations: 39.98 kB / 1.243 GB, free: 1.711 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004356/1.162, allocations: 1.748 MB / 1.245 GB, free: 15.91 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.162, allocations: 12.03 kB / 1.245 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009841/1.171, allocations: 1.814 MB / 1.247 GB, free: 14.08 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/1.175, allocations: 1.187 MB / 1.248 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.175, allocations: 86.31 kB / 1.248 GB, free: 12.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006077/1.175, allocations: 123.8 kB / 1.248 GB, free: 12.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006615/1.182, allocations: 2.556 MB / 1.251 GB, free: 9.883 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-05/1.182, allocations: 7.938 kB / 1.251 GB, free: 9.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/1.183, allocations: 55.98 kB / 1.251 GB, free: 9.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/1.183, allocations: 74.2 kB / 1.251 GB, free: 9.746 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/1.19, allocations: 2.592 MB / 1.253 GB, free: 7.145 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/1.207, allocations: 10.21 MB / 1.263 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005805/1.213, allocations: 2.004 MB / 1.265 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/1.215, allocations: 0.9972 MB / 1.266 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/1.215, allocations: 4.438 kB / 1.266 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/1.215, allocations: 42.94 kB / 1.266 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.196e-06/1.215, allocations: 0 / 1.266 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.02863/1.244, allocations: 9.24 MB / 1.275 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.244, allocations: 222.2 kB / 1.276 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.246, allocations: 1.097 MB / 1.277 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.246, allocations: 41.7 kB / 1.277 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/1.247, allocations: 0.7343 MB / 1.277 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/1.247, allocations: 275.9 kB / 1.278 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/1.247, allocations: 20 kB / 1.278 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.247, allocations: 345.9 kB / 1.278 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.25, allocations: 1.098 MB / 1.279 GB, free: 12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/1.253, allocations: 1.336 MB / 1.28 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/1.258, allocations: 2.41 MB / 1.283 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.258, allocations: 4 kB / 1.283 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00837/1.267, allocations: 3.324 MB / 1.286 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.267, allocations: 8 kB / 1.286 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.267, allocations: 4 kB / 1.286 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/1.27, allocations: 0.8536 MB / 1.287 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.271, allocations: 423.3 kB / 1.287 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/1.286, allocations: 14.9 MB / 1.302 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.289, allocations: 307.6 kB / 1.302 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/1.289, allocations: 55.89 kB / 1.302 GB, free: 3.07 MB / 0.8698 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009613/1.29, allocations: 393.5 kB / 1.303 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/1.29, allocations: 158.2 kB / 1.303 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008172/1.298, allocations: 3.269 MB / 1.306 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.298, allocations: 12 kB / 1.306 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/1.298, allocations: 8 kB / 1.306 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.298, allocations: 11.86 kB / 1.306 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/1.31, allocations: 5.049 MB / 1.311 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.31, allocations: 0 / 1.311 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.311, allocations: 363.6 kB / 1.311 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/1.314, allocations: 0.7801 MB / 1.312 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/1.314, allocations: 31.95 kB / 1.312 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/1.33, allocations: 14.53 MB / 1.326 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.33, allocations: 11.95 kB / 1.326 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00764/1.337, allocations: 3.124 MB / 1.329 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/1.338, allocations: 403.1 kB / 1.33 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/1.339, allocations: 16 kB / 1.33 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.34, allocations: 303.5 kB / 1.33 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/1.341, allocations: 84.48 kB / 1.33 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/1.341, allocations: 43.91 kB / 1.33 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001144/1.342, allocations: 0.7366 MB / 1.331 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/1.342, allocations: 0 / 1.331 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001682/1.344, allocations: 456 kB / 1.331 GB, free: 3.969 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/1.344, allocations: 155 kB / 1.331 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007835/1.352, allocations: 3.676 MB / 1.335 GB, free: 32 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.352, allocations: 0 / 1.335 GB, free: 32 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/1.357, allocations: 2.403 MB / 1.337 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.36, allocations: 479.7 kB / 1.338 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/1.369, allocations: 4.259 MB / 1.342 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.371, allocations: 1.392 MB / 1.343 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002062/1.373, allocations: 379.9 kB / 1.344 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.373, allocations: 115.3 kB / 1.344 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of SimCode: time 1.041e-06/1.373, allocations: 0 / 1.344 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of Templates: time 0.4915/1.865, allocations: 29.53 MB / 1.373 GB, free: 214.4 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)