Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 289.7 MB / 302.3 MB, free: 2.094 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.001151/0.001152, allocations: 183.3 kB / 371.6 MB, free: 3.387 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.674/1.674, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008113/0.0008113, allocations: 95.31 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2479, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8575/1.105, allocations: 162.2 MB / 1.138 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.106, allocations: 92.66 kB / 1.138 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0835/1.189, allocations: 36.76 MB / 1.174 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/1.189, allocations: 0 / 1.174 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.025e-05/1.189, allocations: 23.94 kB / 1.174 GB, free: 5.113 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001334/1.191, allocations: 0.8557 MB / 1.175 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.191, allocations: 8.031 kB / 1.175 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.192, allocations: 220.5 kB / 1.175 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/1.193, allocations: 0.5372 MB / 1.176 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/1.193, allocations: 43.55 kB / 1.176 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.193, allocations: 68.44 kB / 1.176 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/1.195, allocations: 1.073 MB / 1.177 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.195, allocations: 11.84 kB / 1.177 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/1.195, allocations: 33.42 kB / 1.177 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/1.195, allocations: 56.41 kB / 1.177 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/1.196, allocations: 0.681 MB / 1.178 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/1.2, allocations: 5.776 MB / 1.183 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/1.201, allocations: 0.5898 MB / 1.184 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/1.202, allocations: 387.1 kB / 1.184 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/1.202, allocations: 4 kB / 1.184 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/1.202, allocations: 48.77 kB / 1.184 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.985e-06/1.202, allocations: 0 / 1.184 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.002433/1.205, allocations: 1.209 MB / 1.186 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.205, allocations: 55.41 kB / 1.186 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/1.205, allocations: 392.8 kB / 1.186 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/1.205, allocations: 37.58 kB / 1.186 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/1.205, allocations: 379.3 kB / 1.186 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.205, allocations: 150.6 kB / 1.186 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/1.206, allocations: 7.375 kB / 1.187 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.206, allocations: 364.8 kB / 1.187 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/1.206, allocations: 231.4 kB / 1.187 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/1.207, allocations: 423.2 kB / 1.187 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/1.207, allocations: 313.8 kB / 1.188 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.207, allocations: 0 / 1.188 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001838/1.209, allocations: 1.006 MB / 1.189 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.209, allocations: 8.094 kB / 1.189 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.209, allocations: 8 kB / 1.189 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.21, allocations: 319.4 kB / 1.189 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/1.21, allocations: 87.83 kB / 1.189 GB, free: 7.469 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/1.218, allocations: 7.085 MB / 1.196 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/1.218, allocations: 37.61 kB / 1.196 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/1.218, allocations: 22.81 kB / 1.196 GB, free: 0.5625 MB / 0.7605 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 () * 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.0001972/1.219, allocations: 133.1 kB / 1.196 GB, free: 452 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.219, allocations: 59.59 kB / 1.196 GB, free: 392 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.221, allocations: 0.8951 MB / 1.197 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.221, allocations: 8 kB / 1.197 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.221, allocations: 8 kB / 1.197 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/1.221, allocations: 4.172 kB / 1.197 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.224, allocations: 1.859 MB / 1.199 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.224, allocations: 3.938 kB / 1.199 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/1.224, allocations: 46.66 kB / 1.199 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008391/1.225, allocations: 281 kB / 1.199 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/1.225, allocations: 7.5 kB / 1.199 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/1.231, allocations: 6.822 MB / 1.206 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.231, allocations: 0 / 1.206 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.233, allocations: 0.9982 MB / 1.207 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/1.233, allocations: 171.7 kB / 1.207 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/1.233, allocations: 10.14 kB / 1.207 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.234, allocations: 23.16 kB / 1.207 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.234, allocations: 43.31 kB / 1.207 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/1.234, allocations: 15.44 kB / 1.207 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003917/1.234, allocations: 305.2 kB / 1.208 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-07/1.234, allocations: 0 / 1.208 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009293/1.235, allocations: 190.8 kB / 1.208 GB, free: 5.66 MB / 0.7761 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 () * 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.0002276/1.235, allocations: 119.7 kB / 1.208 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.237, allocations: 1.143 MB / 1.209 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.237, allocations: 4 kB / 1.209 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.238, allocations: 0.8227 MB / 1.21 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/1.239, allocations: 176.2 kB / 1.21 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/1.241, allocations: 0.8935 MB / 1.211 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.242, allocations: 1.001 MB / 1.212 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003327/1.242, allocations: 100.9 kB / 1.212 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/1.242, allocations: 35.44 kB / 1.212 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/1.242, allocations: 0 / 1.212 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of Templates: time 0.01577/1.258, allocations: 8.739 MB / 1.22 GB, free: 9.043 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)