Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001066/0.001066, allocations: 190.9 kB / 16.25 MB, free: 6.621 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003381/0.003381, allocations: 294.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9751/0.9751, allocations: 169.2 MB / 0.4978 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 96.92 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1635, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01108/0.1747, allocations: 9.964 MB / 0.6894 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.1794, allocations: 3.025 MB / 0.6923 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.1798, allocations: 35.81 kB / 0.6924 GB, free: 4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.1814, allocations: 0.6225 MB / 0.693 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1825, allocations: 0.642 MB / 0.6936 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1837, allocations: 0.5871 MB / 0.6942 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.1861, allocations: 2.742 MB / 0.6968 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.1899, allocations: 3.071 MB / 0.6998 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.1913, allocations: 1.137 MB / 0.701 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.1929, allocations: 1.465 MB / 0.7024 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.1932, allocations: 224 kB / 0.7026 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.1939, allocations: 487.4 kB / 0.7031 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007895/0.1947, allocations: 0.9863 MB / 0.704 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009184/0.1956, allocations: 1.019 MB / 0.705 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.1983, allocations: 3.4 MB / 0.7083 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1983, allocations: 4 kB / 0.7083 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1983, allocations: 0 / 0.7083 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.7e-05/0.1984, allocations: 0 / 0.7083 GB, free: 3.555 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003061/0.2014, allocations: 1.936 MB / 0.7102 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2015, allocations: 12.03 kB / 0.7103 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.2069, allocations: 0.8959 MB / 0.7111 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.2085, allocations: 1.122 MB / 0.7122 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.2086, allocations: 103.3 kB / 0.7123 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.2089, allocations: 148.3 kB / 0.7125 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004396/0.2133, allocations: 3.018 MB / 0.7154 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.2133, allocations: 7.875 kB / 0.7154 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.2135, allocations: 63.97 kB / 0.7155 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.2137, allocations: 183 kB / 0.7157 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.2175, allocations: 2.604 MB / 0.7182 GB, free: 9.27 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.2323, allocations: 13.56 MB / 0.7314 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.2343, allocations: 1.301 MB / 0.7327 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.2357, allocations: 1.047 MB / 0.7337 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.2358, allocations: 8.656 kB / 0.7337 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2359, allocations: 39.22 kB / 0.7338 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.2359, allocations: 0 / 0.7338 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.0667/0.3026, allocations: 19.39 MB / 0.7527 GB, free: 4.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3027, allocations: 64.72 kB / 0.7528 GB, free: 4.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3038, allocations: 0.9183 MB / 0.7537 GB, free: 3.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.3039, allocations: 49.7 kB / 0.7537 GB, free: 3.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.3043, allocations: 0.7283 MB / 0.7544 GB, free: 2.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.3048, allocations: 492.9 kB / 0.7549 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.3053, allocations: 291.4 kB / 0.7552 GB, free: 2.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3055, allocations: 353.9 kB / 0.7555 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.3072, allocations: 1.339 MB / 0.7568 GB, free: 388 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.3092, allocations: 1.659 MB / 0.7584 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.3132, allocations: 3.082 MB / 0.7615 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3132, allocations: 4 kB / 0.7615 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01113/0.3243, allocations: 5.635 MB / 0.767 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3244, allocations: 16.03 kB / 0.767 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.3244, allocations: 11.94 kB / 0.767 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008614/0.333, allocations: 2.737 MB / 0.7697 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.3338, allocations: 195.7 kB / 0.7698 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3146/0.6484, allocations: 25.72 MB / 0.795 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6498, allocations: 97.83 kB / 0.7951 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.6501, allocations: 55.69 kB / 0.7951 GB, free: 78.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.6513, allocations: 0.7379 MB / 0.7958 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.6516, allocations: 113.8 kB / 0.7959 GB, free: 78.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.6624, allocations: 5.389 MB / 0.8012 GB, free: 76.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6625, allocations: 13.41 kB / 0.8012 GB, free: 76.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.196e-05/0.6626, allocations: 22.06 kB / 0.8012 GB, free: 76.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.6626, allocations: 12.84 kB / 0.8012 GB, free: 76.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.6781, allocations: 8.653 MB / 0.8097 GB, free: 72.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.6781, allocations: 3.75 kB / 0.8097 GB, free: 72.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.6786, allocations: 122.9 kB / 0.8098 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007586/0.6862, allocations: 2.557 MB / 0.8123 GB, free: 70.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.6864, allocations: 32 kB / 0.8123 GB, free: 70.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/0.7119, allocations: 22.99 MB / 0.8348 GB, free: 50.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7119, allocations: 11.88 kB / 0.8348 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009107/0.721, allocations: 5.13 MB / 0.8398 GB, free: 45.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/0.7218, allocations: 471.6 kB / 0.8403 GB, free: 44.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.7221, allocations: 31.94 kB / 0.8403 GB, free: 44.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.723, allocations: 79.89 kB / 0.8404 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000486/0.7235, allocations: 117.1 kB / 0.8405 GB, free: 44.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.7236, allocations: 43.06 kB / 0.8405 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006696/0.7243, allocations: 0.6473 MB / 0.8412 GB, free: 43.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7243, allocations: 0 / 0.8412 GB, free: 43.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002358/0.7266, allocations: 0.7227 MB / 0.8419 GB, free: 43.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000253/0.7269, allocations: 141.5 kB / 0.842 GB, free: 43.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006485/0.7334, allocations: 4.719 MB / 0.8466 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.7334, allocations: 64 / 0.8466 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/0.7378, allocations: 2.652 MB / 0.8492 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.7393, allocations: 242.1 kB / 0.8494 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.7453, allocations: 4.689 MB / 0.854 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.7465, allocations: 1.704 MB / 0.8557 GB, free: 29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006715/0.7472, allocations: 323.5 kB / 0.856 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.7474, allocations: 55.44 kB / 0.856 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.7474, allocations: 0 / 0.856 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.04657/0.794, allocations: 39.52 MB / 0.8946 GB, free: 5.383 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)