Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001362/0.001362, allocations: 187.4 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.538/2.538, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009625/0.0009624, allocations: 94.42 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 12.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2072, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9642/1.171, allocations: 175.4 MB / 1.071 GB, free: 66.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005821/1.172, allocations: 104.5 kB / 1.071 GB, free: 66.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1557/1.328, allocations: 28.83 MB / 1.099 GB, free: 62.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/1.328, allocations: 0 / 1.099 GB, free: 62.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.937e-05/1.328, allocations: 7.469 kB / 1.099 GB, free: 62.38 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.001778/1.33, allocations: 0.7598 MB / 1.1 GB, free: 61.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.33, allocations: 8.875 kB / 1.1 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/1.335, allocations: 0.5701 MB / 1.1 GB, free: 61.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.336, allocations: 470.3 kB / 1.101 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/1.336, allocations: 23.98 kB / 1.101 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.337, allocations: 34.69 kB / 1.101 GB, free: 61.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/1.339, allocations: 0.7653 MB / 1.102 GB, free: 61.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.339, allocations: 7.938 kB / 1.102 GB, free: 61.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/1.339, allocations: 11.62 kB / 1.102 GB, free: 61.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/1.339, allocations: 22.89 kB / 1.102 GB, free: 61.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/1.343, allocations: 0.8574 MB / 1.103 GB, free: 61.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005733/1.349, allocations: 2.858 MB / 1.105 GB, free: 59.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/1.352, allocations: 0.521 MB / 1.106 GB, free: 59.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/1.353, allocations: 272.3 kB / 1.106 GB, free: 59.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.353, allocations: 84.66 kB / 1.106 GB, free: 59.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.353, allocations: 34.5 kB / 1.106 GB, free: 59.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.216e-06/1.353, allocations: 0 / 1.106 GB, free: 59.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.02036/1.373, allocations: 3.222 MB / 1.109 GB, free: 59.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/1.374, allocations: 78.7 kB / 1.109 GB, free: 59.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/1.374, allocations: 413 kB / 1.11 GB, free: 59.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.374, allocations: 38.72 kB / 1.11 GB, free: 59.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/1.375, allocations: 239.2 kB / 1.11 GB, free: 58.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.375, allocations: 79.39 kB / 1.11 GB, free: 58.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/1.375, allocations: 5.25 kB / 1.11 GB, free: 58.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.375, allocations: 346.6 kB / 1.11 GB, free: 58.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/1.377, allocations: 358.1 kB / 1.111 GB, free: 58.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/1.378, allocations: 451.3 kB / 1.111 GB, free: 58.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/1.38, allocations: 390.8 kB / 1.112 GB, free: 58.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.38, allocations: 1.062 kB / 1.112 GB, free: 58.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009823/1.39, allocations: 1.542 MB / 1.113 GB, free: 58.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.39, allocations: 152.7 kB / 1.113 GB, free: 58.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.39, allocations: 6.438 kB / 1.113 GB, free: 58.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007002/1.397, allocations: 0.8531 MB / 1.114 GB, free: 58.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.398, allocations: 127.7 kB / 1.114 GB, free: 58.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009882/1.408, allocations: 4.669 MB / 1.119 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.41, allocations: 118.1 kB / 1.119 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/1.41, allocations: 15.44 kB / 1.119 GB, free: 55.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.41, allocations: 3.906 kB / 1.119 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009168/1.419, allocations: 1.257 MB / 1.12 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.419, allocations: 3.938 kB / 1.12 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006876/1.426, allocations: 0.5565 MB / 1.121 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.428, allocations: 149.5 kB / 1.121 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008233/1.436, allocations: 2.494 MB / 1.123 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.438, allocations: 121.4 kB / 1.123 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/1.438, allocations: 11.75 kB / 1.123 GB, free: 53.51 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.0007809/1.439, allocations: 322.6 kB / 1.124 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.439, allocations: 35.16 kB / 1.124 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.451, allocations: 1.428 MB / 1.125 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.451, allocations: 3.906 kB / 1.125 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.451, allocations: 0 / 1.125 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.451, allocations: 0 / 1.125 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.465, allocations: 2.114 MB / 1.127 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.465, allocations: 0 / 1.127 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.466, allocations: 82.72 kB / 1.127 GB, free: 51.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009275/1.476, allocations: 0.7879 MB / 1.128 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.476, allocations: 7.953 kB / 1.128 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.489, allocations: 4.492 MB / 1.132 GB, free: 48.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.489, allocations: 3.938 kB / 1.132 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.5, allocations: 1.435 MB / 1.134 GB, free: 47.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/1.501, allocations: 172.5 kB / 1.134 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/1.501, allocations: 3.375 kB / 1.134 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.503, allocations: 101.9 kB / 1.134 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.503, allocations: 27.19 kB / 1.134 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/1.503, allocations: 11.8 kB / 1.134 GB, free: 47.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007688/1.504, allocations: 304.5 kB / 1.134 GB, free: 47.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.61e-07/1.504, allocations: 0 / 1.134 GB, free: 47.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001995/1.506, allocations: 228.8 kB / 1.135 GB, free: 47.41 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.000481/1.507, allocations: 165.3 kB / 1.135 GB, free: 47.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009292/1.516, allocations: 1.638 MB / 1.136 GB, free: 46.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.516, allocations: 3.938 kB / 1.136 GB, free: 46.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.518, allocations: 0.6625 MB / 1.137 GB, free: 46.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.519, allocations: 116.2 kB / 1.137 GB, free: 46.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/1.522, allocations: 1.215 MB / 1.138 GB, free: 45.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/1.523, allocations: 0.9095 MB / 1.139 GB, free: 44.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000937/1.524, allocations: 153.1 kB / 1.139 GB, free: 44.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/1.524, allocations: 30.58 kB / 1.139 GB, free: 44.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.524, allocations: 3.938 kB / 1.139 GB, free: 44.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02784/1.552, allocations: 12.4 MB / 1.152 GB, free: 38.51 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)