Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 304.3 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 182.2 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6317 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 92.17 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 16.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9016/1.131, allocations: 191.8 MB / 1.168 GB, free: 6.629 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.131, allocations: 102.5 kB / 1.168 GB, free: 6.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1544/1.286, allocations: 64.11 MB / 1.231 GB, free: 308 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.235e-06/1.286, allocations: 0 / 1.231 GB, free: 308 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.867e-05/1.286, allocations: 35.94 kB / 1.231 GB, free: 272 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003516/1.289, allocations: 1.633 MB / 1.232 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.289, allocations: 12.03 kB / 1.232 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/1.292, allocations: 0.4972 MB / 1.233 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/1.294, allocations: 1.164 MB / 1.234 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/1.294, allocations: 110.1 kB / 1.234 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/1.295, allocations: 155.9 kB / 1.234 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/1.299, allocations: 2.495 MB / 1.237 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/1.299, allocations: 7.844 kB / 1.237 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/1.299, allocations: 65.5 kB / 1.237 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.551e-05/1.3, allocations: 82.38 kB / 1.237 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/1.303, allocations: 2.045 MB / 1.239 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/1.316, allocations: 10.52 MB / 1.249 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/1.317, allocations: 0.5764 MB / 1.25 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/1.318, allocations: 392.6 kB / 1.25 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/1.318, allocations: 89.11 kB / 1.25 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/1.318, allocations: 46.55 kB / 1.25 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.985e-06/1.318, allocations: 0 / 1.25 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.02123/1.339, allocations: 6.243 MB / 1.256 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/1.339, allocations: 93.47 kB / 1.256 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.341, allocations: 0.8906 MB / 1.257 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/1.341, allocations: 33.7 kB / 1.257 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/1.341, allocations: 0.7616 MB / 1.258 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/1.342, allocations: 181.4 kB / 1.258 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/1.342, allocations: 20 kB / 1.258 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.342, allocations: 390.8 kB / 1.259 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/1.343, allocations: 0.6382 MB / 1.259 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.344, allocations: 1.007 MB / 1.26 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/1.346, allocations: 1.658 MB / 1.262 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.346, allocations: 8 kB / 1.262 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009263/1.356, allocations: 3.205 MB / 1.265 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000415/1.356, allocations: 431.4 kB / 1.265 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.356, allocations: 12 kB / 1.265 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008133/1.364, allocations: 1.852 MB / 1.267 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.365, allocations: 227.6 kB / 1.267 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.38, allocations: 10.16 MB / 1.277 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.381, allocations: 179.5 kB / 1.277 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.381, allocations: 43.98 kB / 1.278 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/1.381, allocations: 4 kB / 1.278 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007459/1.389, allocations: 2.61 MB / 1.28 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.9e-05/1.389, allocations: 8 kB / 1.28 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/1.394, allocations: 1.207 MB / 1.281 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.396, allocations: 255.5 kB / 1.282 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008738/1.404, allocations: 5.742 MB / 1.287 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.406, allocations: 151.8 kB / 1.287 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.406, allocations: 40 kB / 1.287 GB, free: 5.555 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001734/1.408, allocations: 0.844 MB / 1.288 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/1.408, allocations: 75.09 kB / 1.288 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008111/1.416, allocations: 2.672 MB / 1.291 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.416, allocations: 7.938 kB / 1.291 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.416, allocations: 8 kB / 1.291 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.416, allocations: 3.984 kB / 1.291 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.428, allocations: 4.616 MB / 1.295 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.428, allocations: 0 / 1.295 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/1.428, allocations: 104.1 kB / 1.295 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007217/1.435, allocations: 1.696 MB / 1.297 GB, free: 11.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/1.436, allocations: 12 kB / 1.297 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.448, allocations: 9.714 MB / 1.307 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.448, allocations: 4.031 kB / 1.307 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008053/1.456, allocations: 2.636 MB / 1.309 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/1.457, allocations: 288 kB / 1.309 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.457, allocations: 16 kB / 1.309 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/1.458, allocations: 123.8 kB / 1.31 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.459, allocations: 56 kB / 1.31 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/1.459, allocations: 16 kB / 1.31 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009929/1.46, allocations: 0.6395 MB / 1.31 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.46, allocations: 0 / 1.31 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0024/1.462, allocations: 0.625 MB / 1.311 GB, free: 12.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003921/1.462, allocations: 174 kB / 1.311 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006325/1.469, allocations: 3.378 MB / 1.314 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.469, allocations: 0 / 1.314 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/1.471, allocations: 1.277 MB / 1.316 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.472, allocations: 223.9 kB / 1.316 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/1.478, allocations: 3.54 MB / 1.319 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.48, allocations: 1.614 MB / 1.321 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001487/1.481, allocations: 498.4 kB / 1.321 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.481, allocations: 63.38 kB / 1.321 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.282e-06/1.481, allocations: 0 / 1.321 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.0413/1.523, allocations: 23.81 MB / 1.345 GB, free: 9.969 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)