Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 194.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.53 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005826/0.3393, allocations: 4.418 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.344, allocations: 3.268 MB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.3443, allocations: 7.938 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3459, allocations: 498.1 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.3468, allocations: 363.9 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.3474, allocations: 227.5 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008432/0.3483, allocations: 0.7965 MB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.349, allocations: 0.5011 MB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.3495, allocations: 239.2 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.3499, allocations: 271 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.35, allocations: 27.94 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3506, allocations: 339.4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3508, allocations: 135.6 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.351, allocations: 218.9 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.3518, allocations: 0.7751 MB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3518, allocations: 4 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3518, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3519, allocations: 0 / 1.079 GB, free: 14.81 MB / 0.8419 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.00144/0.3533, allocations: 0.7753 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3534, allocations: 8.031 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.3562, allocations: 0.6789 MB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.3569, allocations: 439.8 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.357, allocations: 25.03 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.3571, allocations: 36.12 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3587, allocations: 0.7825 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3588, allocations: 4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.3588, allocations: 12 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.359, allocations: 40.61 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3611, allocations: 0.8725 MB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.3651, allocations: 2.827 MB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.3668, allocations: 0.5058 MB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.3675, allocations: 260.9 kB / 1.086 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3676, allocations: 89.05 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3677, allocations: 34.56 kB / 1.086 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.3677, allocations: 0 / 1.086 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.01269/0.3804, allocations: 3.063 MB / 1.089 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3804, allocations: 55.41 kB / 1.09 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.381, allocations: 405.5 kB / 1.09 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.381, allocations: 25.7 kB / 1.09 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3812, allocations: 243.8 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.3813, allocations: 78.77 kB / 1.09 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3815, allocations: 73.67 kB / 1.09 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3816, allocations: 354.8 kB / 1.091 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009854/0.3826, allocations: 352.5 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3837, allocations: 432.4 kB / 1.091 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.3856, allocations: 0.7581 MB / 1.092 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3856, allocations: 8 kB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005538/0.3912, allocations: 1.499 MB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3912, allocations: 4 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3912, allocations: 4 kB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.3951, allocations: 0.7702 MB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.3958, allocations: 123.8 kB / 1.094 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.4028, allocations: 4.515 MB / 1.099 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.4036, allocations: 111.8 kB / 1.099 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.4037, allocations: 11.98 kB / 1.099 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.4049, allocations: 0.5387 MB / 1.1 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009744/0.4059, allocations: 413.4 kB / 1.1 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001846/0.4078, allocations: 0.7256 MB / 1.101 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4078, allocations: 4 kB / 1.101 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004436/0.4122, allocations: 1.27 MB / 1.102 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4123, allocations: 13.39 kB / 1.102 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4123, allocations: 0 / 1.102 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.4147, allocations: 0.4923 MB / 1.102 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.4154, allocations: 143.7 kB / 1.103 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.419, allocations: 2.413 MB / 1.105 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.4198, allocations: 107.9 kB / 1.105 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.4199, allocations: 19.98 kB / 1.105 GB, free: 3.449 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.4201, allocations: 199 kB / 1.105 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4202, allocations: 35.61 kB / 1.105 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/0.425, allocations: 1.365 MB / 1.107 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.425, allocations: 0 / 1.107 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.425, allocations: 7.938 kB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.425, allocations: 0 / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.4304, allocations: 1.989 MB / 1.108 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4304, allocations: 0 / 1.108 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.4308, allocations: 75.89 kB / 1.109 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/0.434, allocations: 0.7156 MB / 1.109 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.4341, allocations: 0 / 1.109 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005904/0.44, allocations: 4.337 MB / 1.114 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.44, allocations: 3.938 kB / 1.114 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.4445, allocations: 1.347 MB / 1.115 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.4448, allocations: 172.5 kB / 1.115 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.4449, allocations: 11.94 kB / 1.115 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.4456, allocations: 83.86 kB / 1.115 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4457, allocations: 23.97 kB / 1.115 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.4457, allocations: 11.98 kB / 1.115 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005078/0.4462, allocations: 307.1 kB / 1.115 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4463, allocations: 0 / 1.115 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009216/0.4472, allocations: 200 kB / 1.116 GB, free: 8.168 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.4474, allocations: 111.2 kB / 1.116 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00372/0.4511, allocations: 1.552 MB / 1.117 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4512, allocations: 4.125 kB / 1.117 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.4524, allocations: 0.6289 MB / 1.118 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.4531, allocations: 127.8 kB / 1.118 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.4554, allocations: 1.197 MB / 1.119 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.4561, allocations: 0.9093 MB / 1.12 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006143/0.4567, allocations: 163.2 kB / 1.12 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4569, allocations: 31.42 kB / 1.12 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/0.4569, allocations: 0 / 1.12 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of Templates: time 0.02036/0.4773, allocations: 12.01 MB / 1.132 GB, free: 7.375 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)