Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.01206/0.01206, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.714/1.714, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.759/1.759, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005306/0.0005306, allocations: 17.56 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3022, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04933/0.3516, allocations: 29.62 MB / 0.8168 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.3819, allocations: 13.46 MB / 0.83 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/0.3862, allocations: 127.2 kB / 0.8301 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.3898, allocations: 0.6512 MB / 0.8307 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.4017, allocations: 2.468 MB / 0.8331 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008137/0.4099, allocations: 1.719 MB / 0.8348 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01845/0.4283, allocations: 10.42 MB / 0.845 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02271/0.4511, allocations: 10.18 MB / 0.8549 GB, free: 6.605 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008379/0.4596, allocations: 2.58 MB / 0.8575 GB, free: 4.016 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008792/0.4684, allocations: 2.946 MB / 0.8603 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.4708, allocations: 244 kB / 0.8606 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005934/0.4767, allocations: 1.38 MB / 0.8619 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003888/0.4807, allocations: 1.925 MB / 0.8638 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005196/0.4859, allocations: 2.38 MB / 0.8661 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4976, allocations: 9.017 MB / 0.8749 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4977, allocations: 0 / 0.8749 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.016e-06/0.4977, allocations: 0 / 0.8749 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003135/0.498, allocations: 0 / 0.8749 GB, free: 2.062 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01012/0.5081, allocations: 4.154 MB / 0.879 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5082, allocations: 12.03 kB / 0.879 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/0.5145, allocations: 1.002 MB / 0.88 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.5202, allocations: 2.896 MB / 0.8828 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.5205, allocations: 320.8 kB / 0.8831 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.5215, allocations: 416 kB / 0.8835 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.5376, allocations: 6.791 MB / 0.8901 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/0.5379, allocations: 23.77 kB / 0.8902 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.5393, allocations: 188 kB / 0.8903 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009989/0.5403, allocations: 368 kB / 0.8907 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.5512, allocations: 5.114 MB / 0.8957 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5783/1.13, allocations: 30.78 MB / 0.9257 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/1.132, allocations: 1.396 MB / 0.9271 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.134, allocations: 1.328 MB / 0.9284 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/1.134, allocations: 14.34 kB / 0.9284 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/1.134, allocations: 52.53 kB / 0.9285 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 4.158e-06/1.134, allocations: 0 / 0.9285 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.0896/1.224, allocations: 22.8 MB / 0.9507 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.224, allocations: 76.12 kB / 0.9508 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/1.227, allocations: 2.066 MB / 0.9528 GB, free: 108 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/1.228, allocations: 61.23 kB / 0.9529 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.229, allocations: 2.01 MB / 0.9548 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007124/1.23, allocations: 0.6758 MB / 0.9555 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/1.23, allocations: 185.4 kB / 0.9557 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/1.23, allocations: 301.1 kB / 0.956 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.233, allocations: 1.431 MB / 0.9574 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.235, allocations: 2.014 MB / 0.9593 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/1.24, allocations: 3.693 MB / 0.9629 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/1.24, allocations: 5.25 kB / 0.9629 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01182/1.251, allocations: 5.661 MB / 0.9685 GB, free: 97.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/1.252, allocations: 17.97 kB / 0.9685 GB, free: 97.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.252, allocations: 17.78 kB / 0.9685 GB, free: 97.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006574/1.258, allocations: 2.084 MB / 0.9705 GB, free: 96.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.26, allocations: 377.1 kB / 0.9709 GB, free: 96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/1.29, allocations: 35.54 MB / 1.006 GB, free: 59.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.293, allocations: 131.9 kB / 1.006 GB, free: 59.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/1.294, allocations: 88 kB / 1.006 GB, free: 59.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003472/1.297, allocations: 1.507 MB / 1.007 GB, free: 57.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008428/1.298, allocations: 284.6 kB / 1.008 GB, free: 57.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.308, allocations: 5.22 MB / 1.013 GB, free: 52.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.308, allocations: 20 kB / 1.013 GB, free: 52.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/1.309, allocations: 16 kB / 1.013 GB, free: 52.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/1.309, allocations: 7.969 kB / 1.013 GB, free: 52.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/1.329, allocations: 9.689 MB / 1.022 GB, free: 42.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.329, allocations: 8.125 kB / 1.022 GB, free: 42.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/1.33, allocations: 219.6 kB / 1.022 GB, free: 42.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/1.336, allocations: 1.833 MB / 1.024 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/1.336, allocations: 51.92 kB / 1.024 GB, free: 40.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0288/1.365, allocations: 34.55 MB / 1.058 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.365, allocations: 11.94 kB / 1.058 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009396/1.374, allocations: 4.902 MB / 1.063 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.376, allocations: 0.6186 MB / 1.063 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/1.377, allocations: 45.08 kB / 1.063 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.379, allocations: 135.8 kB / 1.064 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/1.38, allocations: 190.6 kB / 1.064 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.38, allocations: 56 kB / 1.064 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003015/1.383, allocations: 1.374 MB / 1.065 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.42e-07/1.383, allocations: 0 / 1.065 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005106/1.388, allocations: 1.047 MB / 1.066 GB, free: 10.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004934/1.389, allocations: 174.9 kB / 1.066 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.401, allocations: 6.276 MB / 1.072 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.401, allocations: 0.875 kB / 1.072 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007607/1.408, allocations: 4.401 MB / 1.077 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008521/1.417, allocations: 0.9167 MB / 1.078 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.437, allocations: 10.06 MB / 1.087 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005756/1.443, allocations: 3.121 MB / 1.09 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002815/1.446, allocations: 0.5237 MB / 1.091 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.447, allocations: 147.4 kB / 1.091 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/1.447, allocations: 0 / 1.091 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of Templates: time 0.1105/1.557, allocations: 57.04 MB / 1.147 GB, free: 8.414 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: