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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.88 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3096, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005723/0.3154, allocations: 4.388 MB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.3198, allocations: 3.26 MB / 1.076 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.3201, allocations: 11.94 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3216, allocations: 0.5168 MB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.3224, allocations: 387.7 kB / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.323, allocations: 255.4 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.3236, allocations: 0.5915 MB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.3242, allocations: 0.5366 MB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.3246, allocations: 271.1 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.325, allocations: 279 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.3251, allocations: 43.94 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.3255, allocations: 299.5 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3257, allocations: 155.6 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3259, allocations: 234.9 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007391/0.3267, allocations: 0.7751 MB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3267, allocations: 3.984 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3267, allocations: 4 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3267, allocations: 0 / 1.08 GB, free: 14.43 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.001197/0.3279, allocations: 0.7691 MB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.328, allocations: 12.03 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.3308, allocations: 0.6789 MB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.3314, allocations: 443.8 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3314, allocations: 25.02 kB / 1.082 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.3315, allocations: 36.12 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.333, allocations: 0.7903 MB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.333, allocations: 0 / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.3331, allocations: 12 kB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.3332, allocations: 44.61 kB / 1.083 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3352, allocations: 0.8725 MB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.3388, allocations: 2.812 MB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3405, allocations: 0.5174 MB / 1.087 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.3412, allocations: 256.6 kB / 1.087 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3414, allocations: 89.09 kB / 1.087 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3414, allocations: 34.56 kB / 1.087 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3414, allocations: 3.938 kB / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.01216/0.3536, allocations: 3.064 MB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3536, allocations: 55.41 kB / 1.09 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.3541, allocations: 405.5 kB / 1.09 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3541, allocations: 29.7 kB / 1.091 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3543, allocations: 235.8 kB / 1.091 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.3544, allocations: 86.75 kB / 1.091 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3546, allocations: 73.67 kB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3547, allocations: 342.8 kB / 1.091 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009796/0.3557, allocations: 364.5 kB / 1.092 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.3567, allocations: 424.5 kB / 1.092 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.3586, allocations: 0.7638 MB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3586, allocations: 0 / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005135/0.3638, allocations: 1.489 MB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3638, allocations: 7.938 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3638, allocations: 4 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003531/0.3673, allocations: 0.7742 MB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.368, allocations: 131.8 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/0.3748, allocations: 4.841 MB / 1.1 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.3756, allocations: 107.8 kB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.3757, allocations: 23.97 kB / 1.1 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.3769, allocations: 0.5309 MB / 1.1 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009628/0.3778, allocations: 414 kB / 1.101 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001852/0.3797, allocations: 0.7383 MB / 1.102 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.634e-06/0.3797, allocations: 0 / 1.102 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004212/0.3839, allocations: 1.27 MB / 1.103 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.384, allocations: 4 kB / 1.103 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.384, allocations: 7.984 kB / 1.103 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.3862, allocations: 0.4963 MB / 1.103 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.3869, allocations: 143.8 kB / 1.103 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.3903, allocations: 2.605 MB / 1.106 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.3912, allocations: 111.8 kB / 1.106 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3912, allocations: 12 kB / 1.106 GB, free: 2.523 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.0001838/0.3914, allocations: 196.7 kB / 1.106 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3915, allocations: 35.61 kB / 1.106 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.3961, allocations: 1.37 MB / 1.108 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3961, allocations: 0 / 1.108 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3961, allocations: 4 kB / 1.108 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3962, allocations: 0 / 1.108 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/0.4013, allocations: 1.988 MB / 1.11 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4013, allocations: 3.984 kB / 1.11 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.4017, allocations: 79.84 kB / 1.11 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.4048, allocations: 0.7078 MB / 1.11 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.4048, allocations: 7.938 kB / 1.11 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005764/0.4106, allocations: 4.682 MB / 1.115 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4106, allocations: 4.062 kB / 1.115 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/0.4149, allocations: 1.349 MB / 1.116 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.4152, allocations: 164.7 kB / 1.116 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.4153, allocations: 11.94 kB / 1.116 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.4159, allocations: 87.84 kB / 1.117 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4161, allocations: 23.97 kB / 1.117 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.4161, allocations: 4 kB / 1.117 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004639/0.4166, allocations: 311.1 kB / 1.117 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4166, allocations: 0 / 1.117 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008899/0.4175, allocations: 200 kB / 1.117 GB, free: 6.883 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.0001923/0.4177, allocations: 111.2 kB / 1.117 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003995/0.4217, allocations: 1.591 MB / 1.119 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.4217, allocations: 0 / 1.119 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.4229, allocations: 0.6262 MB / 1.119 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.4236, allocations: 135.8 kB / 1.119 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.4258, allocations: 1.052 MB / 1.12 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.4263, allocations: 0.917 MB / 1.121 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006032/0.4269, allocations: 151.2 kB / 1.122 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.4271, allocations: 39.41 kB / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of SimCode: time 7.61e-07/0.4271, allocations: 0 / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of Templates: time 0.01912/0.4462, allocations: 12.54 MB / 1.134 GB, free: 5.66 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)