Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001411/0.001411, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 282.9 kB / 290.3 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 1.061/1.061, allocations: 178.6 MB / 0.5069 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 99.19 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1549, allocations: 89.16 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02749/0.1824, allocations: 22.4 MB / 0.7149 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1934, allocations: 6.174 MB / 0.7209 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.1948, allocations: 87.44 kB / 0.721 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.1985, allocations: 1.426 MB / 0.7224 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.2021, allocations: 1.51 MB / 0.7238 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.2053, allocations: 1.223 MB / 0.725 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007123/0.2124, allocations: 5.963 MB / 0.7309 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.2226, allocations: 7.275 MB / 0.738 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.2265, allocations: 2.453 MB / 0.7404 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.2308, allocations: 3.038 MB / 0.7433 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007547/0.2316, allocations: 460 kB / 0.7438 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.2337, allocations: 1.092 MB / 0.7448 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.2359, allocations: 2.031 MB / 0.7468 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.2385, allocations: 2.167 MB / 0.7489 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.2461, allocations: 7.307 MB / 0.7561 GB, free: 3.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2461, allocations: 0 / 0.7561 GB, free: 3.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2461, allocations: 0 / 0.7561 GB, free: 3.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001211/0.2463, allocations: 0 / 0.7561 GB, free: 3.906 MB / 0.545 GB 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.006656/0.2529, allocations: 3.812 MB / 0.7598 GB, free: 32 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.253, allocations: 16.02 kB / 0.7598 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2887/0.5417, allocations: 1.203 MB / 0.761 GB, free: 63.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/0.546, allocations: 2.209 MB / 0.7631 GB, free: 63.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.5462, allocations: 242.7 kB / 0.7634 GB, free: 62.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/0.5468, allocations: 317.3 kB / 0.7637 GB, free: 62.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.5588, allocations: 6.212 MB / 0.7697 GB, free: 60.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.559, allocations: 14.83 kB / 0.7698 GB, free: 60.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000436/0.5594, allocations: 144.5 kB / 0.7699 GB, free: 60.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005464/0.56, allocations: 409.2 kB / 0.7703 GB, free: 60.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008393/0.5684, allocations: 4.664 MB / 0.7748 GB, free: 58.59 MB / 0.545 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.02537/0.5938, allocations: 29.14 MB / 0.8033 GB, free: 33.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.5955, allocations: 1.418 MB / 0.8047 GB, free: 32.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.5972, allocations: 1.483 MB / 0.8061 GB, free: 31.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.5973, allocations: 11.97 kB / 0.8061 GB, free: 31.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.5973, allocations: 43.72 kB / 0.8062 GB, free: 31.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 2.885e-06/0.5973, allocations: 4 kB / 0.8062 GB, free: 31.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.1237/0.721, allocations: 37.22 MB / 0.8425 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.7211, allocations: 75 kB / 0.8426 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.723, allocations: 1.419 MB / 0.844 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/0.7234, allocations: 61.7 kB / 0.844 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.7246, allocations: 1.535 MB / 0.8455 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/0.7254, allocations: 0.6123 MB / 0.8461 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007925/0.7262, allocations: 383.3 kB / 0.8465 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7264, allocations: 301.1 kB / 0.8468 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/0.729, allocations: 1.784 MB / 0.8485 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.7323, allocations: 2.35 MB / 0.8508 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006284/0.7386, allocations: 4.387 MB / 0.8551 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.7386, allocations: 8 kB / 0.8551 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01927/0.7579, allocations: 8.563 MB / 0.8635 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.758, allocations: 16 kB / 0.8635 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.758, allocations: 16 kB / 0.8635 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/0.7738, allocations: 4.668 MB / 0.8681 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.7752, allocations: 307.4 kB / 0.8684 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05263/0.8278, allocations: 32.62 MB / 0.9002 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.8302, allocations: 155.3 kB / 0.9004 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.8305, allocations: 80 kB / 0.9005 GB, free: 3.883 MB / 0.6075 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.002404/0.8329, allocations: 1.329 MB / 0.9018 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.8334, allocations: 201.6 kB / 0.9019 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/0.8525, allocations: 8.445 MB / 0.9102 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.8525, allocations: 16 kB / 0.9102 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/0.8526, allocations: 24 kB / 0.9102 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/0.8527, allocations: 15.95 kB / 0.9102 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/0.879, allocations: 12.83 MB / 0.9228 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/0.8791, allocations: 8 kB / 0.9228 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.8799, allocations: 167.6 kB / 0.9229 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01537/0.8952, allocations: 4.514 MB / 0.9274 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003123/0.8956, allocations: 36 kB / 0.9274 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05154/0.9472, allocations: 32.22 MB / 0.9589 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.9472, allocations: 11.94 kB / 0.9589 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.9658, allocations: 8.238 MB / 0.9669 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.9674, allocations: 0.6199 MB / 0.9675 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.9677, allocations: 35.98 kB / 0.9675 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.969, allocations: 139.8 kB / 0.9677 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008808/0.9699, allocations: 172.8 kB / 0.9678 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9701, allocations: 55.98 kB / 0.9679 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001407/0.9715, allocations: 0.951 MB / 0.9688 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9715, allocations: 0 / 0.9688 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003587/0.9751, allocations: 1.121 MB / 0.9699 GB, free: 11.51 MB / 0.6856 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.0003489/0.9755, allocations: 155 kB / 0.9701 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0141/0.9896, allocations: 7.061 MB / 0.977 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.9896, allocations: 0 / 0.977 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.009748/0.9994, allocations: 4.373 MB / 0.9812 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.002, allocations: 0.5189 MB / 0.9817 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.015, allocations: 8.432 MB / 0.99 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.019, allocations: 2.725 MB / 0.9926 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001254/1.02, allocations: 392.5 kB / 0.993 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/1.02, allocations: 99.42 kB / 0.9931 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of SimCode: time 6.51e-07/1.02, allocations: 0 / 0.9931 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of Templates: time 0.3889/1.409, allocations: 61.12 MB / 1.053 GB, free: 243.4 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)