Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 99.28 kB / 16.27 MB, free: 6 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.001238/0.001239, allocations: 187 kB / 17.2 MB, free: 5.613 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.785/1.785, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001495/0.001495, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.4575/0.6954, allocations: 13.91 MB / 0.7976 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.7148, allocations: 9.487 MB / 0.8069 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.7174, allocations: 54.81 kB / 0.8069 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006767/0.7242, allocations: 1.665 MB / 0.8086 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00826/0.7325, allocations: 1.543 MB / 0.8101 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.7365, allocations: 0.7517 MB / 0.8108 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005858/0.7423, allocations: 2.519 MB / 0.8133 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.745, allocations: 1.421 MB / 0.8147 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.7475, allocations: 1.037 MB / 0.8157 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.7501, allocations: 1.151 MB / 0.8168 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.7506, allocations: 164.4 kB / 0.8169 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.7529, allocations: 0.79 MB / 0.8177 GB, free: 31.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.7538, allocations: 0.6201 MB / 0.8183 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.7553, allocations: 0.9376 MB / 0.8192 GB, free: 30.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.76, allocations: 2.731 MB / 0.8219 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.76, allocations: 0 / 0.8219 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.775e-06/0.76, allocations: 1.125 kB / 0.8219 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.907e-05/0.7601, allocations: 1.125 kB / 0.8219 GB, free: 29.66 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00566/0.7658, allocations: 2.134 MB / 0.824 GB, free: 28.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7659, allocations: 10.16 kB / 0.824 GB, free: 28.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.7784, allocations: 2.082 MB / 0.826 GB, free: 28.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.7818, allocations: 1.199 MB / 0.8272 GB, free: 27.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.7819, allocations: 87.47 kB / 0.8273 GB, free: 27.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.7823, allocations: 127.4 kB / 0.8274 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006623/0.7889, allocations: 2.681 MB / 0.83 GB, free: 26.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/0.789, allocations: 11.78 kB / 0.83 GB, free: 26.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.7892, allocations: 50.58 kB / 0.8301 GB, free: 26.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007106/0.7899, allocations: 180.5 kB / 0.8303 GB, free: 26.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.7984, allocations: 2.802 MB / 0.833 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.8155, allocations: 10.51 MB / 0.8433 GB, free: 17.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006837/0.8224, allocations: 2.528 MB / 0.8457 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/0.8258, allocations: 1.29 MB / 0.847 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.8259, allocations: 10.41 kB / 0.847 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8259, allocations: 39.62 kB / 0.847 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.8259, allocations: 0 / 0.847 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04617/0.8721, allocations: 13.35 MB / 0.8601 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.8722, allocations: 65.41 kB / 0.8601 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.8739, allocations: 1.125 MB / 0.8612 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.8742, allocations: 47.7 kB / 0.8613 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.8746, allocations: 0.7105 MB / 0.862 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.8751, allocations: 459.1 kB / 0.8624 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005087/0.8756, allocations: 262.2 kB / 0.8627 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.8757, allocations: 364.3 kB / 0.863 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/0.8789, allocations: 1.336 MB / 0.8643 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.8822, allocations: 1.61 MB / 0.8659 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006384/0.8886, allocations: 2.994 MB / 0.8688 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.8887, allocations: 7.031 kB / 0.8688 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01074/0.8994, allocations: 4.438 MB / 0.8732 GB, free: 14.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.8995, allocations: 15.92 kB / 0.8732 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.8995, allocations: 8 kB / 0.8732 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/0.9048, allocations: 1.439 MB / 0.8746 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.907, allocations: 435.3 kB / 0.875 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/0.9348, allocations: 26.7 MB / 0.9011 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.938, allocations: 303.5 kB / 0.9014 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.9383, allocations: 59.97 kB / 0.9014 GB, free: 15.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.9393, allocations: 438.5 kB / 0.9018 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.9398, allocations: 170 kB / 0.902 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.9517, allocations: 4.451 MB / 0.9063 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.9517, allocations: 16 kB / 0.9064 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-05/0.9517, allocations: 12 kB / 0.9064 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.9518, allocations: 7.969 kB / 0.9064 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.9681, allocations: 6.77 MB / 0.913 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.9681, allocations: 4 kB / 0.913 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.9701, allocations: 387.1 kB / 0.9134 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.975, allocations: 1.309 MB / 0.9146 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/0.9753, allocations: 39.97 kB / 0.9147 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/1.001, allocations: 25.52 MB / 0.9396 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.001, allocations: 4 kB / 0.9396 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.013, allocations: 4.204 MB / 0.9437 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.015, allocations: 463.6 kB / 0.9441 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/1.015, allocations: 24 kB / 0.9442 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/1.018, allocations: 303.5 kB / 0.9445 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/1.019, allocations: 128.7 kB / 0.9446 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.019, allocations: 47.97 kB / 0.9446 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001301/1.02, allocations: 0.7565 MB / 0.9454 GB, free: 408 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0 / 0.9454 GB, free: 408 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003055/1.023, allocations: 0.5704 MB / 0.9459 GB, free: 15.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003549/1.024, allocations: 139.1 kB / 0.9461 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.036, allocations: 5.518 MB / 0.9514 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-05/1.036, allocations: 4.125 kB / 0.9514 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007421/1.044, allocations: 3.487 MB / 0.9549 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.047, allocations: 0.5589 MB / 0.9554 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/1.056, allocations: 4.137 MB / 0.9594 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.057, allocations: 1.477 MB / 0.9609 GB, free: 132 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/1.058, allocations: 135.3 kB / 0.961 GB, free: 16 MB / 0.7637 GB Notification: Performance of SimCode: time 9.81e-07/1.058, allocations: 0 / 0.961 GB, free: 16 MB / 0.7637 GB Notification: Performance of Templates: time 0.1099/1.168, allocations: 112.5 MB / 1.071 GB, free: 15.55 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)