Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001055/0.001055, allocations: 198.6 kB / 16.14 MB, free: 6.711 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 294.7 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9567/0.9567, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 92.56 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1613, allocations: 86.98 MB / 0.6795 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03419/0.1956, allocations: 34.79 MB / 0.7134 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.2131, allocations: 9.901 MB / 0.7231 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.2181, allocations: 131.3 kB / 0.7232 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009289/0.2274, allocations: 3.555 MB / 0.7267 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.2338, allocations: 1.909 MB / 0.7286 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005568/0.2394, allocations: 1.795 MB / 0.7303 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.2512, allocations: 11.2 MB / 0.7412 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01709/0.2684, allocations: 10.7 MB / 0.7517 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005811/0.2742, allocations: 2.872 MB / 0.7545 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007229/0.2815, allocations: 3.801 MB / 0.7582 GB, free: 240 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/0.2839, allocations: 464 kB / 0.7587 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/0.2886, allocations: 1.447 MB / 0.7601 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004125/0.2927, allocations: 2.401 MB / 0.7624 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006625/0.2994, allocations: 2.843 MB / 0.7652 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6042/0.9036, allocations: 10.19 MB / 0.7751 GB, free: 36.15 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.9036, allocations: 1.531 kB / 0.7751 GB, free: 36.15 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9036, allocations: 0 / 0.7751 GB, free: 36.15 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.000317/0.9039, allocations: 0 / 0.7751 GB, free: 36.15 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0115/0.9154, allocations: 5.397 MB / 0.7804 GB, free: 34.39 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9155, allocations: 9.219 kB / 0.7804 GB, free: 34.39 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.9206, allocations: 0.9596 MB / 0.7814 GB, free: 34.11 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006249/0.9269, allocations: 2.997 MB / 0.7843 GB, free: 33.46 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.9271, allocations: 359 kB / 0.7846 GB, free: 33.45 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009279/0.9281, allocations: 471.8 kB / 0.7851 GB, free: 33.44 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.9434, allocations: 7.903 MB / 0.7928 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.9435, allocations: 23.81 kB / 0.7928 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005106/0.944, allocations: 210.4 kB / 0.793 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004689/0.9445, allocations: 368.4 kB / 0.7934 GB, free: 32.36 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.9558, allocations: 5.936 MB / 0.7992 GB, free: 32.31 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/0.9873, allocations: 36.21 MB / 0.8345 GB, free: 21.43 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.9906, allocations: 2.127 MB / 0.8366 GB, free: 20.64 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.9923, allocations: 1.486 MB / 0.8381 GB, free: 20.08 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.9924, allocations: 15.84 kB / 0.8381 GB, free: 20.08 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.9924, allocations: 57.89 kB / 0.8381 GB, free: 20.02 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=157): time 4.298e-06/0.9924, allocations: 2.156 kB / 0.8381 GB, free: 20.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=160): time 0.01201/1.004, allocations: 7.545 MB / 0.8455 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.005, allocations: 68.31 kB / 0.8456 GB, free: 15.71 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/1.007, allocations: 1.862 MB / 0.8474 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.007, allocations: 53.52 kB / 0.8474 GB, free: 14.63 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.000929/1.008, allocations: 2.123 MB / 0.8495 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/1.008, allocations: 0.5588 MB / 0.8501 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/1.009, allocations: 402.7 kB / 0.8504 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/1.009, allocations: 301.1 kB / 0.8507 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.01, allocations: 1.067 MB / 0.8518 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.012, allocations: 1.763 MB / 0.8535 GB, free: 9.734 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.015, allocations: 3.043 MB / 0.8565 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.015, allocations: 7.938 kB / 0.8565 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005723/1.021, allocations: 3.932 MB / 0.8603 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.021, allocations: 14.75 kB / 0.8603 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.021, allocations: 22.72 kB / 0.8603 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/1.023, allocations: 0.9313 MB / 0.8613 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.025, allocations: 423.5 kB / 0.8617 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.043, allocations: 21.05 MB / 0.8822 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.045, allocations: 123.9 kB / 0.8823 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.046, allocations: 97.91 kB / 0.8824 GB, free: 14.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.002644/1.048, allocations: 1.658 MB / 0.884 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.049, allocations: 253 kB / 0.8843 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/1.054, allocations: 3.262 MB / 0.8875 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.054, allocations: 16 kB / 0.8875 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.054, allocations: 8 kB / 0.8875 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.054, allocations: 15.95 kB / 0.8875 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.066, allocations: 7.556 MB / 0.8949 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.066, allocations: 4 kB / 0.8949 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/1.067, allocations: 215.5 kB / 0.8951 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/1.069, allocations: 0.8939 MB / 0.896 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.069, allocations: 28 kB / 0.896 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.087, allocations: 21.03 MB / 0.9165 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.087, allocations: 7.562 kB / 0.9165 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/1.092, allocations: 3.38 MB / 0.9198 GB, free: 6.945 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.093, allocations: 0.5291 MB / 0.9204 GB, free: 6.395 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.094, allocations: 32 kB / 0.9204 GB, free: 6.363 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.095, allocations: 91.89 kB / 0.9205 GB, free: 6.273 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.095, allocations: 144.3 kB / 0.9206 GB, free: 6.141 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.095, allocations: 44 kB / 0.9207 GB, free: 6.098 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001576/1.097, allocations: 1.225 MB / 0.9219 GB, free: 4.859 MB / 0.6388 GB Notification: Performance of sort global known variables: time 3.41e-07/1.097, allocations: 4 kB / 0.9219 GB, free: 4.855 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.002867/1.1, allocations: 0.9023 MB / 0.9227 GB, free: 3.953 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000265/1.1, allocations: 158.2 kB / 0.9229 GB, free: 3.801 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.106, allocations: 4.424 MB / 0.9272 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.106, allocations: 0 / 0.9272 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.11, allocations: 2.99 MB / 0.9301 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.114, allocations: 0.7651 MB / 0.9309 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.127, allocations: 9.702 MB / 0.9403 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.131, allocations: 3.209 MB / 0.9435 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001914/1.133, allocations: 0.5293 MB / 0.944 GB, free: 13.92 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/1.133, allocations: 147.4 kB / 0.9441 GB, free: 13.77 MB / 0.67 GB Notification: Performance of SimCode: time 8.02e-07/1.133, allocations: 0 / 0.9441 GB, free: 13.77 MB / 0.67 GB Notification: Performance of Templates: time 0.06674/1.2, allocations: 41.55 MB / 0.9847 GB, free: 4.934 MB / 0.7013 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)