Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001114/0.001114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.714/2.714, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.08 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3116, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006919/0.3186, allocations: 4.422 MB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005004/0.3236, allocations: 3.244 MB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.3241, allocations: 11.94 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3258, allocations: 489.7 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.327, allocations: 355.9 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.3278, allocations: 235.5 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009011/0.3287, allocations: 0.5954 MB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.3295, allocations: 0.5796 MB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.3302, allocations: 279.1 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.3308, allocations: 299 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.87e-05/0.3309, allocations: 40 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.3315, allocations: 299.6 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.3317, allocations: 167.4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.332, allocations: 227 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.333, allocations: 0.7868 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.333, allocations: 0 / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.333, allocations: 4 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.3331, allocations: 0 / 1.079 GB, free: 14.79 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.001545/0.3346, allocations: 0.7753 MB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3347, allocations: 8.031 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.3375, allocations: 0.675 MB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.3382, allocations: 451.8 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3382, allocations: 21.03 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.3383, allocations: 36.11 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3399, allocations: 0.7825 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.3399, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.34, allocations: 19.92 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3401, allocations: 44.61 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3421, allocations: 0.8725 MB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.3458, allocations: 2.816 MB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3474, allocations: 0.5097 MB / 1.086 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.3481, allocations: 260.9 kB / 1.086 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.3482, allocations: 93.03 kB / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3483, allocations: 30.56 kB / 1.087 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3483, allocations: 0 / 1.087 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.01196/0.3602, allocations: 3.063 MB / 1.09 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3603, allocations: 55.41 kB / 1.09 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.3608, allocations: 401.5 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.3608, allocations: 33.7 kB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.361, allocations: 235.8 kB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.3611, allocations: 90.73 kB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3613, allocations: 69.69 kB / 1.09 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3614, allocations: 346.7 kB / 1.091 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/0.3623, allocations: 360.5 kB / 1.091 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.3633, allocations: 432.4 kB / 1.092 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.3651, allocations: 0.7659 MB / 1.092 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3651, allocations: 0 / 1.092 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004977/0.3701, allocations: 1.491 MB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3701, allocations: 8 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3701, allocations: 0 / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.3737, allocations: 0.7664 MB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.3744, allocations: 135.8 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/0.3809, allocations: 4.844 MB / 1.099 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.3817, allocations: 107.9 kB / 1.099 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.3818, allocations: 23.94 kB / 1.099 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001103/0.3829, allocations: 0.5308 MB / 1.1 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009063/0.3838, allocations: 418 kB / 1.1 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001715/0.3855, allocations: 0.7259 MB / 1.101 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.3855, allocations: 0 / 1.101 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004156/0.3897, allocations: 1.274 MB / 1.102 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3897, allocations: 4 kB / 1.102 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3897, allocations: 4 kB / 1.102 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.3921, allocations: 0.4964 MB / 1.103 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.3927, allocations: 139.8 kB / 1.103 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.3961, allocations: 2.597 MB / 1.105 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.3969, allocations: 111.9 kB / 1.106 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.3969, allocations: 23.97 kB / 1.106 GB, free: 2.875 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.0001891/0.3971, allocations: 196.1 kB / 1.106 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3972, allocations: 31.62 kB / 1.106 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.4018, allocations: 1.365 MB / 1.107 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4018, allocations: 4 kB / 1.107 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4018, allocations: 4 kB / 1.107 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4019, allocations: 3.984 kB / 1.107 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.407, allocations: 1.985 MB / 1.109 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.407, allocations: 4.094 kB / 1.109 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.4074, allocations: 79.89 kB / 1.109 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.4106, allocations: 0.7076 MB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4106, allocations: 15.92 kB / 1.11 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005529/0.4162, allocations: 4.67 MB / 1.114 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4162, allocations: 3.938 kB / 1.114 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.4204, allocations: 1.351 MB / 1.116 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4206, allocations: 164.7 kB / 1.116 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4207, allocations: 7.938 kB / 1.116 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.4213, allocations: 87.84 kB / 1.116 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4215, allocations: 27.91 kB / 1.116 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.4215, allocations: 12 kB / 1.116 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003893/0.4219, allocations: 303.1 kB / 1.116 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4219, allocations: 4 kB / 1.116 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008221/0.4227, allocations: 200 kB / 1.117 GB, free: 7.234 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.0001761/0.4229, allocations: 115.2 kB / 1.117 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00351/0.4264, allocations: 1.583 MB / 1.118 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4265, allocations: 4.125 kB / 1.118 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4276, allocations: 0.623 MB / 1.119 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.4283, allocations: 129.6 kB / 1.119 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.4302, allocations: 1.208 MB / 1.12 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.4307, allocations: 0.9247 MB / 1.121 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006033/0.4313, allocations: 159.2 kB / 1.121 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.4315, allocations: 35.41 kB / 1.121 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.4315, allocations: 0 / 1.121 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.01843/0.4499, allocations: 12.48 MB / 1.133 GB, free: 5.914 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)