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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002034/0.002035, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.43/1.43, allocations: 205.1 MB / 222 MB, free: 4.754 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.732/1.732, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001408/0.001408, allocations: 64.88 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.276, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006478/0.2826, allocations: 4.398 MB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004916/0.2875, allocations: 3.246 MB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.2879, allocations: 11.94 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2896, allocations: 486.2 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2907, allocations: 350.4 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.2914, allocations: 227.6 kB / 0.7912 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009498/0.2924, allocations: 0.7984 MB / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.2931, allocations: 0.4974 MB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.2936, allocations: 243.1 kB / 0.7927 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.2941, allocations: 275 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.2942, allocations: 24 kB / 0.7929 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.2949, allocations: 323.4 kB / 0.7933 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.295, allocations: 143.6 kB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.2953, allocations: 206.9 kB / 0.7936 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009659/0.2963, allocations: 0.775 MB / 0.7943 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.2963, allocations: 7.938 kB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2963, allocations: 8 kB / 0.7944 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2963, allocations: 0 / 0.7944 GB, free: 1.988 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.001899/0.2982, allocations: 0.7636 MB / 0.7951 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.2983, allocations: 12.03 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.3011, allocations: 0.6594 MB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.302, allocations: 439.8 kB / 0.7962 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.302, allocations: 21.03 kB / 0.7962 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.3021, allocations: 32.2 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.3039, allocations: 0.7786 MB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3039, allocations: 0 / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.304, allocations: 12 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.3041, allocations: 44.61 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.3061, allocations: 0.8531 MB / 0.7979 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.3097, allocations: 2.815 MB / 0.8006 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3112, allocations: 0.498 MB / 0.8011 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.3118, allocations: 252.6 kB / 0.8014 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3119, allocations: 93.09 kB / 0.8014 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.312, allocations: 34.5 kB / 0.8015 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.312, allocations: 0 / 0.8015 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01107/0.323, allocations: 2.951 MB / 0.8044 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3231, allocations: 55.41 kB / 0.8044 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3236, allocations: 409.5 kB / 0.8048 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.3237, allocations: 33.64 kB / 0.8048 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3239, allocations: 235.9 kB / 0.8051 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.324, allocations: 90.69 kB / 0.8051 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3241, allocations: 65.69 kB / 0.8052 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3242, allocations: 346.8 kB / 0.8055 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/0.3251, allocations: 352.4 kB / 0.8059 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.3259, allocations: 417.1 kB / 0.8063 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.3276, allocations: 0.7309 MB / 0.807 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3276, allocations: 4 kB / 0.807 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004848/0.3325, allocations: 1.463 MB / 0.8084 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3325, allocations: 5.125 kB / 0.8084 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3325, allocations: 8 kB / 0.8084 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003599/0.3361, allocations: 0.7739 MB / 0.8092 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.3367, allocations: 119.8 kB / 0.8093 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006437/0.3431, allocations: 4.505 MB / 0.8137 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.3439, allocations: 111.9 kB / 0.8138 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.344, allocations: 19.98 kB / 0.8138 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.3451, allocations: 0.516 MB / 0.8143 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008301/0.3459, allocations: 413.8 kB / 0.8147 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001632/0.3475, allocations: 0.7141 MB / 0.8154 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.3476, allocations: 0 / 0.8154 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004105/0.3517, allocations: 1.243 MB / 0.8166 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3517, allocations: 4 kB / 0.8166 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3517, allocations: 4 kB / 0.8166 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.3541, allocations: 0.5002 MB / 0.8171 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.3547, allocations: 127.8 kB / 0.8173 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.3581, allocations: 2.42 MB / 0.8196 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.3589, allocations: 99.83 kB / 0.8197 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.359, allocations: 15.98 kB / 0.8197 GB, free: 6.984 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.0002067/0.3592, allocations: 192.4 kB / 0.8199 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3593, allocations: 47.45 kB / 0.82 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.364, allocations: 1.344 MB / 0.8213 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.364, allocations: 4 kB / 0.8213 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.364, allocations: 3.938 kB / 0.8213 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.364, allocations: 0 / 0.8213 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.3693, allocations: 1.989 MB / 0.8232 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3693, allocations: 0 / 0.8232 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3697, allocations: 79.84 kB / 0.8233 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/0.3729, allocations: 0.7117 MB / 0.824 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.373, allocations: 11.98 kB / 0.824 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/0.3788, allocations: 4.329 MB / 0.8282 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3788, allocations: 3.938 kB / 0.8282 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/0.3832, allocations: 1.354 MB / 0.8296 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.3835, allocations: 164.5 kB / 0.8297 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.3836, allocations: 4 kB / 0.8297 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.3842, allocations: 83.86 kB / 0.8298 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.3844, allocations: 35.83 kB / 0.8298 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.3844, allocations: 4 kB / 0.8298 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003833/0.3848, allocations: 303.1 kB / 0.8301 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 0 / 0.8301 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009807/0.3858, allocations: 200 kB / 0.8303 GB, free: 11.72 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.000225/0.386, allocations: 111.2 kB / 0.8304 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003632/0.3897, allocations: 1.523 MB / 0.8319 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3897, allocations: 0 / 0.8319 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.391, allocations: 0.6289 MB / 0.8325 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.3919, allocations: 121.4 kB / 0.8326 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.3943, allocations: 1.199 MB / 0.8338 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.3949, allocations: 0.9093 MB / 0.8347 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005657/0.3955, allocations: 151.2 kB / 0.8348 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3956, allocations: 39.42 kB / 0.8349 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.3956, allocations: 0 / 0.8349 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of Templates: time 0.01916/0.4148, allocations: 11.64 MB / 0.8462 GB, free: 11.36 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)