Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 252 MB / 267.9 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 187.1 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 0.5785 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008608/0.0008607, allocations: 87.56 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12.34 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5427/0.7093, allocations: 175.7 MB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.7096, allocations: 100.2 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05973/0.7694, allocations: 28.85 MB / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7694, allocations: 0 / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.331e-05/0.7694, allocations: 12 kB / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001101/0.7705, allocations: 0.7479 MB / 1.102 GB, free: 132.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.7706, allocations: 12.03 kB / 1.102 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.7727, allocations: 0.5659 MB / 1.102 GB, free: 131.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.7733, allocations: 487.6 kB / 1.103 GB, free: 131.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.7734, allocations: 33.02 kB / 1.103 GB, free: 131.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.7735, allocations: 24.38 kB / 1.103 GB, free: 131.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.7746, allocations: 0.7597 MB / 1.104 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7747, allocations: 7.938 kB / 1.104 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.7747, allocations: 12 kB / 1.104 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/0.7748, allocations: 20.64 kB / 1.104 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.7763, allocations: 0.8609 MB / 1.104 GB, free: 129.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.7792, allocations: 2.862 MB / 1.107 GB, free: 126.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.7804, allocations: 0.5215 MB / 1.108 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.7809, allocations: 264.6 kB / 1.108 GB, free: 125.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.473e-05/0.781, allocations: 81.11 kB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.781, allocations: 38.55 kB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.781, allocations: 4 kB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.009034/0.7901, allocations: 3.209 MB / 1.111 GB, free: 122.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.7901, allocations: 85.11 kB / 1.111 GB, free: 122.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.7905, allocations: 417.5 kB / 1.112 GB, free: 121.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.7905, allocations: 29.7 kB / 1.112 GB, free: 121.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.7906, allocations: 239.8 kB / 1.112 GB, free: 121.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.7907, allocations: 82.8 kB / 1.112 GB, free: 121.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.7907, allocations: 8 kB / 1.112 GB, free: 121.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.7908, allocations: 342.8 kB / 1.112 GB, free: 121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.7915, allocations: 371.6 kB / 1.113 GB, free: 120.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.7922, allocations: 441.3 kB / 1.113 GB, free: 120.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.7936, allocations: 0.7843 MB / 1.114 GB, free: 119.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7936, allocations: 0 / 1.114 GB, free: 119.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004072/0.7977, allocations: 1.538 MB / 1.115 GB, free: 117.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.7978, allocations: 152 kB / 1.116 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7978, allocations: 0 / 1.116 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/0.8011, allocations: 0.8442 MB / 1.116 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.8016, allocations: 139.8 kB / 1.117 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.8068, allocations: 4.666 MB / 1.121 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.8075, allocations: 127.9 kB / 1.121 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.8075, allocations: 15.98 kB / 1.121 GB, free: 111.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.8075, allocations: 4 kB / 1.121 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003384/0.8109, allocations: 1.257 MB / 1.123 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.8109, allocations: 0 / 1.123 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.813, allocations: 0.5509 MB / 1.123 GB, free: 109.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.8135, allocations: 147.8 kB / 1.123 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.8162, allocations: 2.498 MB / 1.126 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.8169, allocations: 111.8 kB / 1.126 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.8169, allocations: 15.98 kB / 1.126 GB, free: 106.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003769/0.8173, allocations: 328.9 kB / 1.126 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.8174, allocations: 31.62 kB / 1.126 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.8211, allocations: 1.425 MB / 1.127 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8212, allocations: 4 kB / 1.127 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8212, allocations: 0 / 1.127 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8212, allocations: 144 / 1.127 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.8255, allocations: 2.11 MB / 1.13 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.8255, allocations: 0 / 1.13 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.8258, allocations: 83.91 kB / 1.13 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/0.8287, allocations: 0.7858 MB / 1.13 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.8287, allocations: 15.92 kB / 1.13 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.8331, allocations: 4.493 MB / 1.135 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8331, allocations: 0 / 1.135 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.8367, allocations: 1.435 MB / 1.136 GB, free: 95.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.8369, allocations: 172.6 kB / 1.136 GB, free: 95.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.837, allocations: 8 kB / 1.136 GB, free: 95.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.8375, allocations: 95.84 kB / 1.136 GB, free: 95.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8376, allocations: 27.91 kB / 1.136 GB, free: 95.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.8376, allocations: 11.98 kB / 1.137 GB, free: 95.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002994/0.838, allocations: 307.1 kB / 1.137 GB, free: 95.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/0.838, allocations: 0 / 1.137 GB, free: 95.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000802/0.8388, allocations: 235.9 kB / 1.137 GB, free: 94.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000236/0.839, allocations: 157.7 kB / 1.137 GB, free: 94.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.8417, allocations: 1.628 MB / 1.139 GB, free: 93.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8417, allocations: 0 / 1.139 GB, free: 93.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.8427, allocations: 0.6763 MB / 1.139 GB, free: 92.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.8433, allocations: 109.2 kB / 1.14 GB, free: 92.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.8448, allocations: 1.226 MB / 1.141 GB, free: 91.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.8451, allocations: 0.9171 MB / 1.142 GB, free: 90.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004786/0.8456, allocations: 155.2 kB / 1.142 GB, free: 89.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.8457, allocations: 31.42 kB / 1.142 GB, free: 89.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8457, allocations: 0 / 1.142 GB, free: 89.89 MB / 0.698 GB Notification: Performance of Templates: time 0.01379/0.8595, allocations: 12.46 MB / 1.154 GB, free: 77.49 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)