Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, 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.009604/0.009604, allocations: 170 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 252 MB / 0.5105 GB, free: 4.699 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.5633, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02057/0.584, allocations: 19.43 MB / 0.7477 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.5956, allocations: 6.434 MB / 0.754 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.5977, allocations: 75.5 kB / 0.7541 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5989, allocations: 408.8 kB / 0.7545 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.6023, allocations: 1.116 MB / 0.7555 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.6054, allocations: 1.071 MB / 0.7566 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007752/0.6132, allocations: 6.971 MB / 0.7634 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.6263, allocations: 7.259 MB / 0.7705 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.6308, allocations: 1.486 MB / 0.7719 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004463/0.6353, allocations: 2.032 MB / 0.7739 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.6364, allocations: 179.9 kB / 0.7741 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.6391, allocations: 0.9203 MB / 0.775 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.6414, allocations: 1.344 MB / 0.7763 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.6451, allocations: 1.576 MB / 0.7778 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006881/0.652, allocations: 6.21 MB / 0.7839 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.652, allocations: 3.984 kB / 0.7839 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.765e-06/0.652, allocations: 4 kB / 0.7839 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001601/0.6522, allocations: 4 kB / 0.7839 GB, free: 2.516 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006579/0.6588, allocations: 2.808 MB / 0.7867 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.6588, allocations: 12.03 kB / 0.7867 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.6627, allocations: 0.641 MB / 0.7873 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/0.6664, allocations: 1.936 MB / 0.7892 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6666, allocations: 222.3 kB / 0.7894 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.6671, allocations: 296.2 kB / 0.7897 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007908/0.675, allocations: 4.89 MB / 0.7945 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.6751, allocations: 15.91 kB / 0.7945 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.6754, allocations: 128 kB / 0.7946 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004185/0.6758, allocations: 225.7 kB / 0.7948 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005903/0.6817, allocations: 3.754 MB / 0.7985 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.7051, allocations: 21.62 MB / 0.8196 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.7069, allocations: 1.302 MB / 0.8209 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.7083, allocations: 1.046 MB / 0.8219 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.7083, allocations: 9 kB / 0.8219 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.7084, allocations: 47.55 kB / 0.8219 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.7084, allocations: 0 / 0.8219 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02484/0.7332, allocations: 8.719 MB / 0.8305 GB, free: 464 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.7333, allocations: 64.72 kB / 0.8305 GB, free: 388 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.7353, allocations: 1.126 MB / 0.8316 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.7355, allocations: 49.7 kB / 0.8317 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009365/0.7364, allocations: 1.3 MB / 0.8329 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.7369, allocations: 481.1 kB / 0.8334 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.7371, allocations: 129.6 kB / 0.8335 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.7372, allocations: 305.1 kB / 0.8338 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.7386, allocations: 0.9174 MB / 0.8347 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.7403, allocations: 1.322 MB / 0.836 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.7434, allocations: 2.43 MB / 0.8384 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7434, allocations: 4 kB / 0.8384 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006246/0.7497, allocations: 3.471 MB / 0.8418 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.7497, allocations: 8 kB / 0.8418 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.7498, allocations: 12 kB / 0.8418 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003373/0.7531, allocations: 1.188 MB / 0.8429 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.7541, allocations: 259.6 kB / 0.8432 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.7708, allocations: 12.75 MB / 0.8556 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7724, allocations: 92.09 kB / 0.8557 GB, free: 5.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.7727, allocations: 67.98 kB / 0.8558 GB, free: 5.684 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002347/0.7751, allocations: 1.114 MB / 0.8569 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.7755, allocations: 162.1 kB / 0.857 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/0.7815, allocations: 3.177 MB / 0.8601 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7816, allocations: 16 kB / 0.8602 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/0.7816, allocations: 12 kB / 0.8602 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.7816, allocations: 11.91 kB / 0.8602 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.7934, allocations: 6.241 MB / 0.8663 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.7935, allocations: 12.03 kB / 0.8663 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.7941, allocations: 147.7 kB / 0.8664 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.797, allocations: 1.073 MB / 0.8675 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.7972, allocations: 24 kB / 0.8675 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.8131, allocations: 12.46 MB / 0.8797 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.8132, allocations: 7.938 kB / 0.8797 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.8188, allocations: 3.154 MB / 0.8828 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/0.8198, allocations: 423.1 kB / 0.8832 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.8202, allocations: 28 kB / 0.8832 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8213, allocations: 87.83 kB / 0.8833 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/0.8217, allocations: 124.7 kB / 0.8834 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/0.8218, allocations: 40 kB / 0.8834 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001299/0.8231, allocations: 0.7632 MB / 0.8842 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8231, allocations: 0 / 0.8842 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002388/0.8255, allocations: 0.6562 MB / 0.8848 GB, free: 7.289 MB / 0.7012 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002799/0.8258, allocations: 147 kB / 0.8849 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005327/0.8311, allocations: 3.134 MB / 0.888 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8311, allocations: 0 / 0.888 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.8343, allocations: 1.967 MB / 0.8899 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.8378, allocations: 462.4 kB / 0.8904 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8489, allocations: 6.77 MB / 0.897 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/0.8522, allocations: 2.332 MB / 0.8993 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001366/0.8536, allocations: 350.1 kB / 0.8996 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.8539, allocations: 91.44 kB / 0.8997 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of SimCode: time 1.503e-06/0.8539, allocations: 0 / 0.8997 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.5034/1.357, allocations: 30.93 MB / 0.9299 GB, free: 154.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: