Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005774/0.005774, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 278.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9202/0.9202, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.000417, allocations: 18.16 kB / 0.5987 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 88.53 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0119/0.1616, allocations: 11.29 MB / 0.6962 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.1694, allocations: 5.263 MB / 0.7013 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.1701, allocations: 31.88 kB / 0.7013 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009671/0.1711, allocations: 311.5 kB / 0.7016 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1723, allocations: 0.5881 MB / 0.7022 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1737, allocations: 0.6336 MB / 0.7028 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.1767, allocations: 3.589 MB / 0.7063 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005406/0.1821, allocations: 4.101 MB / 0.7103 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1835, allocations: 0.7589 MB / 0.7111 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.1851, allocations: 1.039 MB / 0.7121 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.1853, allocations: 92 kB / 0.7122 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.1862, allocations: 435.3 kB / 0.7126 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006685/0.1869, allocations: 0.7287 MB / 0.7133 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007351/0.1877, allocations: 0.7987 MB / 0.7141 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.1905, allocations: 3.368 MB / 0.7174 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1905, allocations: 8 kB / 0.7174 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1905, allocations: 0 / 0.7174 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.34e-05/0.1905, allocations: 0 / 0.7174 GB, free: 13.89 MB / 0.5137 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.002813/0.1933, allocations: 1.593 MB / 0.7189 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1934, allocations: 12.03 kB / 0.7189 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.1955, allocations: 454.5 kB / 0.7194 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.1971, allocations: 1.105 MB / 0.7205 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.1972, allocations: 107.5 kB / 0.7206 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.1974, allocations: 156.1 kB / 0.7207 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.2014, allocations: 2.739 MB / 0.7234 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.2015, allocations: 4 kB / 0.7234 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.2017, allocations: 64 kB / 0.7235 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/0.202, allocations: 147 kB / 0.7236 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.2053, allocations: 2.284 MB / 0.7258 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.2158, allocations: 10.45 MB / 0.736 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/0.2167, allocations: 0.5726 MB / 0.7366 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.2173, allocations: 388.9 kB / 0.737 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.2174, allocations: 93.08 kB / 0.7371 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2175, allocations: 46.5 kB / 0.7371 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.2175, allocations: 0 / 0.7371 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.01999/0.2375, allocations: 5.741 MB / 0.7427 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2376, allocations: 55.84 kB / 0.7428 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2387, allocations: 0.8866 MB / 0.7436 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.2388, allocations: 33.7 kB / 0.7437 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.2393, allocations: 0.7577 MB / 0.7444 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.2395, allocations: 185.4 kB / 0.7446 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.2396, allocations: 81.67 kB / 0.7446 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2398, allocations: 390.8 kB / 0.745 GB, free: 372 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009403/0.2407, allocations: 0.6226 MB / 0.7456 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.2419, allocations: 0.9904 MB / 0.7466 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.2441, allocations: 1.646 MB / 0.7482 GB, free: 12.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2441, allocations: 4 kB / 0.7482 GB, free: 12.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009085/0.2532, allocations: 3.131 MB / 0.7513 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.2536, allocations: 440.8 kB / 0.7517 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2536, allocations: 16 kB / 0.7517 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007923/0.2615, allocations: 1.743 MB / 0.7534 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.2624, allocations: 223.6 kB / 0.7536 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.2761, allocations: 9.921 MB / 0.7633 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.2774, allocations: 171.6 kB / 0.7635 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.2775, allocations: 43.98 kB / 0.7635 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.2775, allocations: 2.344 kB / 0.7635 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007155/0.2847, allocations: 2.575 MB / 0.766 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.2848, allocations: 12.06 kB / 0.766 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.2901, allocations: 1.168 MB / 0.7672 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.291, allocations: 243.6 kB / 0.7674 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/0.2982, allocations: 5.418 MB / 0.7727 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.2993, allocations: 139.8 kB / 0.7728 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.2994, allocations: 44 kB / 0.7729 GB, free: 2.508 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.3006, allocations: 0.8336 MB / 0.7737 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.3008, allocations: 83 kB / 0.7738 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2969/0.5977, allocations: 2.604 MB / 0.7763 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.5978, allocations: 6.797 kB / 0.7763 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.5978, allocations: 2.531 kB / 0.7763 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5978, allocations: 2.578 kB / 0.7763 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.609, allocations: 4.514 MB / 0.7807 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6091, allocations: 1.562 kB / 0.7807 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.6095, allocations: 99.75 kB / 0.7808 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007415/0.6169, allocations: 1.596 MB / 0.7824 GB, free: 85.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.617, allocations: 16.12 kB / 0.7824 GB, free: 85.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.628, allocations: 9.481 MB / 0.7917 GB, free: 79.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6281, allocations: 3.438 kB / 0.7917 GB, free: 79.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007476/0.6356, allocations: 2.58 MB / 0.7942 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.636, allocations: 276.5 kB / 0.7945 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6361, allocations: 8.531 kB / 0.7945 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.6369, allocations: 124.2 kB / 0.7946 GB, free: 78.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.6371, allocations: 51.09 kB / 0.7946 GB, free: 78.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.6372, allocations: 20.78 kB / 0.7946 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006905/0.6379, allocations: 0.623 MB / 0.7953 GB, free: 78.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6379, allocations: 0 / 0.7953 GB, free: 78.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001768/0.6396, allocations: 0.5849 MB / 0.7958 GB, free: 78.16 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.6398, allocations: 127.4 kB / 0.7959 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004404/0.6442, allocations: 3.095 MB / 0.799 GB, free: 76.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6443, allocations: 0 / 0.799 GB, free: 76.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.6459, allocations: 1.178 MB / 0.8001 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6472, allocations: 225.4 kB / 0.8003 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.6517, allocations: 3.681 MB / 0.8039 GB, free: 73.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.6529, allocations: 1.622 MB / 0.8055 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001138/0.6541, allocations: 490.9 kB / 0.806 GB, free: 72.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.6543, allocations: 55.09 kB / 0.806 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/0.6543, allocations: 0 / 0.806 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.02879/0.6831, allocations: 23.22 MB / 0.8287 GB, free: 57.36 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)