Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001642/0.001642, allocations: 101 kB / 16.27 MB, free: 5.93 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.001778/0.001778, allocations: 186.3 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8612/0.8612, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 0.495 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4545, allocations: 78.7 MB / 0.5718 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02195/0.4765, allocations: 20.23 MB / 0.5916 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.4882, allocations: 6.439 MB / 0.5979 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.4913, allocations: 83.06 kB / 0.598 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005722/0.4972, allocations: 2.238 MB / 0.6001 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.5013, allocations: 1.183 MB / 0.6013 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.5046, allocations: 1.288 MB / 0.6026 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004839/0.5094, allocations: 4.855 MB / 0.6073 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.5153, allocations: 5.642 MB / 0.6128 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.5195, allocations: 2.08 MB / 0.6148 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.524, allocations: 2.34 MB / 0.6171 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007466/0.5247, allocations: 432 kB / 0.6175 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.5272, allocations: 0.9947 MB / 0.6185 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.5289, allocations: 1.661 MB / 0.6201 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002471/0.5313, allocations: 1.914 MB / 0.622 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007658/0.539, allocations: 6.478 MB / 0.6283 GB, free: 12.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5391, allocations: 0 / 0.6283 GB, free: 12.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5391, allocations: 0 / 0.6283 GB, free: 12.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.5393, allocations: 0 / 0.6283 GB, free: 12.66 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007997/0.5473, allocations: 3.452 MB / 0.6317 GB, free: 9.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5473, allocations: 8.031 kB / 0.6317 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.5506, allocations: 0.6448 MB / 0.6323 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.5541, allocations: 1.939 MB / 0.6342 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.5543, allocations: 226.3 kB / 0.6344 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.5548, allocations: 292.4 kB / 0.6347 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008583/0.5634, allocations: 4.889 MB / 0.6395 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.933e-05/0.5635, allocations: 15.84 kB / 0.6395 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.5638, allocations: 132 kB / 0.6396 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/0.5643, allocations: 229.7 kB / 0.6399 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.5706, allocations: 3.75 MB / 0.6435 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.5912, allocations: 21.57 MB / 0.6646 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5929, allocations: 1.308 MB / 0.6659 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.5942, allocations: 1.057 MB / 0.6669 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.5942, allocations: 13 kB / 0.6669 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5943, allocations: 43.56 kB / 0.6669 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 2.966e-06/0.5943, allocations: 0 / 0.6669 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02269/0.617, allocations: 8.645 MB / 0.6754 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.6171, allocations: 72.66 kB / 0.6755 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.6185, allocations: 1.134 MB / 0.6766 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.609e-05/0.6186, allocations: 53.64 kB / 0.6766 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008271/0.6195, allocations: 1.296 MB / 0.6779 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.6199, allocations: 485 kB / 0.6783 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.6203, allocations: 287.4 kB / 0.6786 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.6204, allocations: 305.1 kB / 0.6789 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6216, allocations: 0.9135 MB / 0.6798 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.623, allocations: 1.326 MB / 0.6811 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.6259, allocations: 2.426 MB / 0.6835 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6259, allocations: 4 kB / 0.6835 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005732/0.6316, allocations: 3.464 MB / 0.6868 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.6317, allocations: 12 kB / 0.6869 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6317, allocations: 12 kB / 0.6869 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.6348, allocations: 1.19 MB / 0.688 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.6357, allocations: 263.5 kB / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/0.6525, allocations: 13.84 MB / 0.7018 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.6541, allocations: 95.97 kB / 0.7019 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6542, allocations: 60 kB / 0.7019 GB, free: 14.01 MB / 0.545 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.002195/0.6564, allocations: 1.13 MB / 0.7031 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.6568, allocations: 158.1 kB / 0.7032 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.6627, allocations: 3.169 MB / 0.7063 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6628, allocations: 12 kB / 0.7063 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.6628, allocations: 15.94 kB / 0.7063 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6628, allocations: 11.97 kB / 0.7063 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.673, allocations: 6.237 MB / 0.7124 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.6731, allocations: 8.5 kB / 0.7124 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.6737, allocations: 151.8 kB / 0.7126 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/0.6767, allocations: 1.081 MB / 0.7136 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.6768, allocations: 28 kB / 0.7137 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/0.6931, allocations: 13.55 MB / 0.7269 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6932, allocations: 7.938 kB / 0.7269 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.6986, allocations: 3.158 MB / 0.73 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.6995, allocations: 423.1 kB / 0.7304 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.6997, allocations: 35.86 kB / 0.7304 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.7005, allocations: 79.91 kB / 0.7305 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.701, allocations: 128.7 kB / 0.7306 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.701, allocations: 36 kB / 0.7307 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001065/0.7021, allocations: 0.771 MB / 0.7314 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7021, allocations: 0 / 0.7314 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002185/0.7043, allocations: 0.6562 MB / 0.732 GB, free: 14.47 MB / 0.5762 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.0002573/0.7046, allocations: 139.1 kB / 0.7322 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00568/0.7103, allocations: 3.627 MB / 0.7357 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.7103, allocations: 8.25 kB / 0.7357 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002918/0.7132, allocations: 1.955 MB / 0.7376 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.7155, allocations: 0.4989 MB / 0.7381 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/0.7243, allocations: 5.436 MB / 0.7434 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.7266, allocations: 2.336 MB / 0.7457 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.3421/1.069, allocations: 345.3 kB / 0.746 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/1.069, allocations: 86.67 kB / 0.7461 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.402e-06/1.069, allocations: 5.156 kB / 0.7461 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06098/1.13, allocations: 32.66 MB / 0.778 GB, free: 138 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)