Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.002254/0.002254, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7888/0.7888, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4866/0.4879, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02863/0.5166, allocations: 22.56 MB / 0.5892 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.5335, allocations: 6.238 MB / 0.5953 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004696/0.5382, allocations: 96.34 kB / 0.5954 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006045/0.5444, allocations: 1.539 MB / 0.5969 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007208/0.5516, allocations: 1.623 MB / 0.5985 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.5575, allocations: 1.355 MB / 0.5998 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009809/0.5674, allocations: 5.941 MB / 0.6056 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01193/0.5793, allocations: 6.099 MB / 0.6116 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006951/0.5863, allocations: 2.403 MB / 0.6139 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/0.5925, allocations: 2.866 MB / 0.6167 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.5946, allocations: 456 kB / 0.6172 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.5994, allocations: 1.1 MB / 0.6182 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004554/0.6039, allocations: 2.031 MB / 0.6202 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006578/0.6106, allocations: 2.159 MB / 0.6223 GB, free: 2.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.622, allocations: 7.253 MB / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.622, allocations: 3.938 kB / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.622, allocations: 0 / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.6223, allocations: 0 / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01271/0.6351, allocations: 3.812 MB / 0.6331 GB, free: 7.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.6351, allocations: 8.625 kB / 0.6332 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00734/0.6425, allocations: 1.214 MB / 0.6343 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.6475, allocations: 2.215 MB / 0.6365 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.6478, allocations: 242.4 kB / 0.6367 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.6491, allocations: 315.9 kB / 0.637 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.6634, allocations: 6.212 MB / 0.6431 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.6635, allocations: 11.94 kB / 0.6431 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/0.6646, allocations: 143.9 kB / 0.6433 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005494/0.6651, allocations: 406.3 kB / 0.6436 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008733/0.6739, allocations: 4.658 MB / 0.6482 GB, free: 7.32 MB / 494.1 MB 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.03534/0.7093, allocations: 29.14 MB / 0.6766 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.7114, allocations: 1.416 MB / 0.678 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.7133, allocations: 1.483 MB / 0.6795 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.7134, allocations: 9 kB / 0.6795 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.7135, allocations: 47.56 kB / 0.6795 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/0.7135, allocations: 0 / 0.6795 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1452/0.8587, allocations: 37.24 MB / 0.7159 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.8587, allocations: 77.34 kB / 0.716 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.8612, allocations: 1.423 MB / 0.7174 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.8616, allocations: 61.62 kB / 0.7174 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.8626, allocations: 1.531 MB / 0.7189 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/0.8634, allocations: 0.6123 MB / 0.7195 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008628/0.8643, allocations: 383.3 kB / 0.7199 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8644, allocations: 301.1 kB / 0.7202 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.8671, allocations: 1.784 MB / 0.7219 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.8701, allocations: 2.346 MB / 0.7242 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/0.8763, allocations: 4.387 MB / 0.7285 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/0.8763, allocations: 4 kB / 0.7285 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01869/0.895, allocations: 8.567 MB / 0.7369 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.8951, allocations: 15.98 kB / 0.7369 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.8951, allocations: 16 kB / 0.7369 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/0.9108, allocations: 4.674 MB / 0.7415 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.9121, allocations: 299.5 kB / 0.7417 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3988/1.311, allocations: 32.63 MB / 0.7736 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.313, allocations: 147.8 kB / 0.7737 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/1.314, allocations: 82.16 kB / 0.7738 GB, free: 139.7 MB / 0.5762 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002823/1.317, allocations: 1.333 MB / 0.7751 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006712/1.317, allocations: 196 kB / 0.7753 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.333, allocations: 8.437 MB / 0.7835 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/1.333, allocations: 19.34 kB / 0.7836 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.083e-05/1.333, allocations: 27.09 kB / 0.7836 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.54e-05/1.333, allocations: 11.8 kB / 0.7836 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.355, allocations: 12.84 MB / 0.7961 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.355, allocations: 11.94 kB / 0.7961 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/1.355, allocations: 167.7 kB / 0.7963 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/1.368, allocations: 4.519 MB / 0.8007 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.368, allocations: 36 kB / 0.8008 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05058/1.419, allocations: 32.21 MB / 0.8322 GB, free: 88.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.419, allocations: 12.06 kB / 0.8322 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.438, allocations: 8.237 MB / 0.8403 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.439, allocations: 0.6195 MB / 0.8409 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/1.439, allocations: 35.98 kB / 0.8409 GB, free: 79.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.441, allocations: 139.8 kB / 0.841 GB, free: 79.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007235/1.441, allocations: 172.8 kB / 0.8412 GB, free: 79.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.442, allocations: 52 kB / 0.8413 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001125/1.443, allocations: 0.9549 MB / 0.8422 GB, free: 78.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.443, allocations: 0 / 0.8422 GB, free: 78.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003084/1.446, allocations: 1.117 MB / 0.8433 GB, free: 76.95 MB / 0.5762 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003002/1.446, allocations: 148 kB / 0.8434 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.458, allocations: 7.079 MB / 0.8503 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.458, allocations: 0 / 0.8503 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008051/1.466, allocations: 4.368 MB / 0.8546 GB, free: 65.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.469, allocations: 0.5264 MB / 0.8551 GB, free: 64.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/1.478, allocations: 6.878 MB / 0.8618 GB, free: 57.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/1.481, allocations: 2.719 MB / 0.8645 GB, free: 55.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009471/1.482, allocations: 388.6 kB / 0.8649 GB, free: 54.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.482, allocations: 91.44 kB / 0.8649 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/1.482, allocations: 0 / 0.8649 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.08143/1.564, allocations: 60.51 MB / 0.924 GB, free: 10.41 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)