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.001084/0.001084, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001276/0.001276, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.689/1.689, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005764/0.0005763, allocations: 11.53 kB / 0.6736 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2897, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005629/0.2954, allocations: 3.699 MB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004772/0.3002, allocations: 2.929 MB / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.3005, allocations: 7.938 kB / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.3011, allocations: 163.2 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.302, allocations: 291 kB / 0.794 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.3025, allocations: 175.6 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.303, allocations: 343.3 kB / 0.7945 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.3042, allocations: 0.7157 MB / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.3045, allocations: 163.4 kB / 0.7954 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3048, allocations: 175.3 kB / 0.7956 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.3048, allocations: 20 kB / 0.7956 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.3054, allocations: 235.7 kB / 0.7958 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3056, allocations: 127.6 kB / 0.7959 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.3057, allocations: 105.5 kB / 0.796 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.3064, allocations: 0.6587 MB / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.3064, allocations: 0 / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3064, allocations: 0 / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3064, allocations: 4 kB / 0.7967 GB, free: 2.082 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.001273/0.3077, allocations: 0.7206 MB / 0.7974 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3077, allocations: 12.03 kB / 0.7974 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.3105, allocations: 0.6937 MB / 0.7981 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.3114, allocations: 482.5 kB / 0.7985 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3115, allocations: 24.66 kB / 0.7985 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.3116, allocations: 32 kB / 0.7986 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3131, allocations: 0.7864 MB / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3131, allocations: 0 / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.3132, allocations: 15.95 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.3133, allocations: 52.59 kB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3153, allocations: 0.8842 MB / 0.8003 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.3197, allocations: 2.862 MB / 0.8031 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.3212, allocations: 0.5215 MB / 0.8036 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3214, allocations: 89.09 kB / 0.8037 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3214, allocations: 38.56 kB / 0.8037 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.3214, allocations: 0 / 0.8037 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01113/0.3325, allocations: 3.216 MB / 0.8068 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.3327, allocations: 81.11 kB / 0.8069 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.3333, allocations: 413.6 kB / 0.8073 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.3334, allocations: 29.7 kB / 0.8073 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.3336, allocations: 243.8 kB / 0.8076 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.3337, allocations: 86.75 kB / 0.8077 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.3337, allocations: 4 kB / 0.8077 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3339, allocations: 350.8 kB / 0.808 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/0.3348, allocations: 367.5 kB / 0.8083 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.3358, allocations: 445.8 kB / 0.8088 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.3367, allocations: 388.9 kB / 0.8091 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3368, allocations: 4 kB / 0.8091 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004986/0.3418, allocations: 1.538 MB / 0.8106 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005667/0.3423, allocations: 0.7979 MB / 0.8114 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3424, allocations: 0 / 0.8114 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/0.3461, allocations: 0.8442 MB / 0.8122 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.3468, allocations: 139.8 kB / 0.8124 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007911/0.3547, allocations: 4.79 MB / 0.8171 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.3556, allocations: 119.9 kB / 0.8172 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3557, allocations: 19.98 kB / 0.8172 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3557, allocations: 4 kB / 0.8172 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004239/0.36, allocations: 1.253 MB / 0.8184 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.36, allocations: 0 / 0.8184 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.3625, allocations: 0.5549 MB / 0.819 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.3631, allocations: 143.8 kB / 0.8191 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.3668, allocations: 2.565 MB / 0.8216 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.3675, allocations: 107.8 kB / 0.8217 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.3676, allocations: 19.98 kB / 0.8217 GB, free: 7.434 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005097/0.3681, allocations: 323.7 kB / 0.822 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.3682, allocations: 35.62 kB / 0.8221 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/0.3726, allocations: 1.43 MB / 0.8235 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3727, allocations: 0 / 0.8235 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3727, allocations: 4 kB / 0.8235 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3727, allocations: 3.984 kB / 0.8235 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/0.378, allocations: 2.082 MB / 0.8255 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3781, allocations: 4 kB / 0.8255 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.3784, allocations: 83.94 kB / 0.8256 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003266/0.3817, allocations: 0.7896 MB / 0.8264 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3818, allocations: 8 kB / 0.8264 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006712/0.3885, allocations: 4.614 MB / 0.8309 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3885, allocations: 4.031 kB / 0.8309 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.3929, allocations: 1.468 MB / 0.8323 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3933, allocations: 172.7 kB / 0.8325 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.3934, allocations: 4 kB / 0.8325 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.394, allocations: 99.84 kB / 0.8326 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3941, allocations: 20.44 kB / 0.8326 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.3941, allocations: 12 kB / 0.8326 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004078/0.3946, allocations: 311.1 kB / 0.8329 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.723e-06/0.3946, allocations: 0 / 0.8329 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009045/0.3955, allocations: 207.9 kB / 0.8331 GB, free: 11.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.3957, allocations: 119.2 kB / 0.8332 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.3993, allocations: 1.622 MB / 0.8348 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3994, allocations: 4 kB / 0.8348 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.4006, allocations: 0.676 MB / 0.8355 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.4013, allocations: 125.2 kB / 0.8356 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4033, allocations: 1.211 MB / 0.8368 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.4039, allocations: 0.9249 MB / 0.8377 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005389/0.4045, allocations: 155.2 kB / 0.8378 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4046, allocations: 31.42 kB / 0.8378 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.4046, allocations: 0 / 0.8378 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of Templates: time 0.01902/0.4236, allocations: 11.91 MB / 0.8495 GB, free: 10.51 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: