Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001557/0.001557, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.002135/0.002135, allocations: 198.2 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.86 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007058/0.2918, allocations: 4.394 MB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004794/0.2967, allocations: 3.215 MB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.297, allocations: 15.88 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2986, allocations: 484.8 kB / 0.7908 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2997, allocations: 350.5 kB / 0.7911 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.3004, allocations: 231.5 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009189/0.3014, allocations: 0.5956 MB / 0.7919 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.3023, allocations: 0.5797 MB / 0.7925 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.303, allocations: 279.1 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.3036, allocations: 294.9 kB / 0.793 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3037, allocations: 44 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.3043, allocations: 283.5 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.3045, allocations: 167.5 kB / 0.7935 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3048, allocations: 226.9 kB / 0.7937 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.3057, allocations: 0.7829 MB / 0.7945 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3057, allocations: 4 kB / 0.7945 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3057, allocations: 0 / 0.7945 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3057, allocations: 0 / 0.7945 GB, free: 1.926 MB / 0.6075 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.001388/0.3071, allocations: 0.783 MB / 0.7952 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3072, allocations: 8.031 kB / 0.7952 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.3098, allocations: 0.6515 MB / 0.7959 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.3105, allocations: 439.8 kB / 0.7963 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3105, allocations: 21.03 kB / 0.7963 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.3106, allocations: 40.11 kB / 0.7964 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.3121, allocations: 0.7669 MB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.3122, allocations: 4 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.3122, allocations: 19.98 kB / 0.7971 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.3123, allocations: 44.55 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3142, allocations: 0.8531 MB / 0.798 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.3182, allocations: 2.808 MB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.3198, allocations: 0.5019 MB / 0.8012 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.3205, allocations: 252.6 kB / 0.8015 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.3207, allocations: 85.11 kB / 0.8016 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3207, allocations: 30.56 kB / 0.8016 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 5.37e-06/0.3207, allocations: 3.984 kB / 0.8016 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01181/0.3326, allocations: 2.966 MB / 0.8045 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3326, allocations: 55.41 kB / 0.8045 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.3332, allocations: 409.5 kB / 0.8049 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.3333, allocations: 29.7 kB / 0.805 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3335, allocations: 235.9 kB / 0.8052 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.3336, allocations: 86.75 kB / 0.8053 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3337, allocations: 61.69 kB / 0.8053 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3339, allocations: 350.8 kB / 0.8057 GB, free: 6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009292/0.3348, allocations: 356.4 kB / 0.806 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/0.3357, allocations: 417 kB / 0.8064 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.3376, allocations: 0.7348 MB / 0.8071 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3376, allocations: 0 / 0.8071 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004946/0.3425, allocations: 1.471 MB / 0.8086 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.3426, allocations: 8 kB / 0.8086 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3426, allocations: 0 / 0.8086 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/0.3463, allocations: 0.7741 MB / 0.8093 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.3469, allocations: 127.8 kB / 0.8094 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/0.3545, allocations: 4.837 MB / 0.8142 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.3554, allocations: 107.8 kB / 0.8143 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.3555, allocations: 16.05 kB / 0.8143 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/0.3567, allocations: 0.5193 MB / 0.8148 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009138/0.3576, allocations: 413.1 kB / 0.8152 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00164/0.3592, allocations: 0.7141 MB / 0.8159 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.73e-06/0.3593, allocations: 4 kB / 0.8159 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004091/0.3634, allocations: 1.243 MB / 0.8171 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3634, allocations: 4 kB / 0.8171 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3634, allocations: 4 kB / 0.8171 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.3656, allocations: 0.4962 MB / 0.8176 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.3662, allocations: 131.8 kB / 0.8177 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.3698, allocations: 2.609 MB / 0.8203 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.3705, allocations: 103.9 kB / 0.8204 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3706, allocations: 16 kB / 0.8204 GB, free: 6.355 MB / 0.6387 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.0002232/0.3708, allocations: 207 kB / 0.8206 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.3709, allocations: 31.62 kB / 0.8206 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.3752, allocations: 1.337 MB / 0.8219 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3752, allocations: 4 kB / 0.8219 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3752, allocations: 0 / 0.8219 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3752, allocations: 3.984 kB / 0.8219 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.3806, allocations: 2.005 MB / 0.8239 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3806, allocations: 0 / 0.8239 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.381, allocations: 76 kB / 0.8239 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/0.384, allocations: 0.7154 MB / 0.8246 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.3841, allocations: 7.938 kB / 0.8247 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.3902, allocations: 4.678 MB / 0.8292 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3903, allocations: 0 / 0.8292 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/0.3945, allocations: 1.353 MB / 0.8305 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.3949, allocations: 156.7 kB / 0.8307 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.395, allocations: 8 kB / 0.8307 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.3956, allocations: 87.84 kB / 0.8308 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.3958, allocations: 28.09 kB / 0.8308 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.3958, allocations: 12 kB / 0.8308 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005109/0.3963, allocations: 299.1 kB / 0.8311 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.12e-07/0.3963, allocations: 0 / 0.8311 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001015/0.3973, allocations: 196 kB / 0.8313 GB, free: 10.74 MB / 0.6544 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.0002864/0.3976, allocations: 115.2 kB / 0.8314 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003677/0.4013, allocations: 1.568 MB / 0.8329 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4014, allocations: 0 / 0.8329 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4027, allocations: 0.6223 MB / 0.8335 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.4035, allocations: 125.9 kB / 0.8337 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4058, allocations: 1.219 MB / 0.8349 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4064, allocations: 0.9093 MB / 0.8357 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.4069, allocations: 151.2 kB / 0.8359 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4071, allocations: 35.42 kB / 0.8359 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.4071, allocations: 0 / 0.8359 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of Templates: time 0.02179/0.4289, allocations: 12.09 MB / 0.8477 GB, free: 9.859 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)