Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.0013, allocations: 105.5 kB / 15.98 MB, free: 5.871 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.001329/0.001329, allocations: 197.5 kB / 16.91 MB, free: 5.738 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.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 122.9 MB / 413.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.67 kB / 0.4906 GB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 77.92 MB / 0.5667 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007639/0.1596, allocations: 5.541 MB / 0.5721 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004322/0.164, allocations: 2.627 MB / 0.5747 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1643, allocations: 19.88 kB / 0.5747 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.166, allocations: 0.6456 MB / 0.5753 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.1668, allocations: 382.1 kB / 0.5757 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.1678, allocations: 367.3 kB / 0.576 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1688, allocations: 0.9591 MB / 0.577 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007336/0.1695, allocations: 0.5144 MB / 0.5775 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.17, allocations: 378.5 kB / 0.5778 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.1705, allocations: 422.4 kB / 0.5782 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.1706, allocations: 48 kB / 0.5783 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/0.1712, allocations: 359.3 kB / 0.5786 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.1714, allocations: 255.3 kB / 0.5789 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.1718, allocations: 354.1 kB / 0.5792 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1728, allocations: 0.9929 MB / 0.5802 GB, free: 2.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1728, allocations: 0 / 0.5802 GB, free: 2.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1728, allocations: 0 / 0.5802 GB, free: 2.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1728, allocations: 0 / 0.5802 GB, free: 2.738 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001777/0.1746, allocations: 0.9737 MB / 0.5811 GB, free: 1.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1746, allocations: 12.03 kB / 0.5811 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.1761, allocations: 195.8 kB / 0.5813 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.1768, allocations: 494.4 kB / 0.5818 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.1768, allocations: 41.36 kB / 0.5818 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.177, allocations: 48.56 kB / 0.5819 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2979/0.4749, allocations: 0.8351 MB / 0.5827 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.197e-05/0.475, allocations: 4 kB / 0.5827 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.4752, allocations: 19.47 kB / 0.5827 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/0.4755, allocations: 64.44 kB / 0.5828 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.477, allocations: 0.5741 MB / 0.5834 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.4817, allocations: 4.582 MB / 0.5878 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.4823, allocations: 298.5 kB / 0.5881 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.4826, allocations: 223 kB / 0.5883 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.4827, allocations: 4.188 kB / 0.5883 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.4827, allocations: 43.09 kB / 0.5884 GB, free: 19.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.4827, allocations: 0 / 0.5884 GB, free: 19.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.00629/0.489, allocations: 2.632 MB / 0.5909 GB, free: 18.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.4891, allocations: 65.11 kB / 0.591 GB, free: 18.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.4896, allocations: 459.3 kB / 0.5914 GB, free: 18.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.4896, allocations: 32.45 kB / 0.5915 GB, free: 18.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.4899, allocations: 342.6 kB / 0.5918 GB, free: 17.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.49, allocations: 150.4 kB / 0.5919 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.4902, allocations: 101.3 kB / 0.592 GB, free: 17.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4903, allocations: 364.6 kB / 0.5924 GB, free: 17.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.4907, allocations: 240.9 kB / 0.5926 GB, free: 17.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.4913, allocations: 409.3 kB / 0.593 GB, free: 16.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/0.4922, allocations: 0.6785 MB / 0.5937 GB, free: 16.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4923, allocations: 2.484 kB / 0.5937 GB, free: 16.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001873/0.4941, allocations: 0.9233 MB / 0.5946 GB, free: 16.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4942, allocations: 6.938 kB / 0.5946 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4942, allocations: 5.969 kB / 0.5946 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.495, allocations: 226 kB / 0.5948 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.4956, allocations: 115 kB / 0.5949 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.5003, allocations: 5.337 MB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.5008, allocations: 30.73 kB / 0.6001 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.5008, allocations: 31.3 kB / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003048/0.5011, allocations: 229.6 kB / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5012, allocations: 56.12 kB / 0.6005 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5028, allocations: 0.7755 MB / 0.6012 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5028, allocations: 3.656 kB / 0.6012 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5028, allocations: 2.969 kB / 0.6012 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5028, allocations: 2.156 kB / 0.6012 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.5054, allocations: 1.499 MB / 0.6027 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.5054, allocations: 2.094 kB / 0.6027 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.5058, allocations: 67.53 kB / 0.6027 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.5065, allocations: 205.9 kB / 0.6029 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.5066, allocations: 12.05 kB / 0.603 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.5108, allocations: 5.276 MB / 0.6081 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5108, allocations: 2.625 kB / 0.6081 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.5127, allocations: 1.13 MB / 0.6092 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.5129, allocations: 175.3 kB / 0.6094 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.513, allocations: 10.5 kB / 0.6094 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.5133, allocations: 23.66 kB / 0.6094 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.5134, allocations: 39.58 kB / 0.6095 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.5134, allocations: 9.438 kB / 0.6095 GB, free: 4.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003384/0.5138, allocations: 316.1 kB / 0.6098 GB, free: 4.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5138, allocations: 0 / 0.6098 GB, free: 4.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.5145, allocations: 169.8 kB / 0.6099 GB, free: 4.367 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.5147, allocations: 115 kB / 0.61 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.5163, allocations: 1.071 MB / 0.6111 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5163, allocations: 2.047 kB / 0.6111 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/0.5172, allocations: 0.6769 MB / 0.6117 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.5181, allocations: 191.7 kB / 0.6119 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5202, allocations: 1.512 MB / 0.6134 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5206, allocations: 0.951 MB / 0.6143 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.521, allocations: 116.6 kB / 0.6144 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.5211, allocations: 38.12 kB / 0.6145 GB, free: 1.438 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5211, allocations: 0 / 0.6145 GB, free: 1.438 MB / 446.1 MB Notification: Performance of Templates: time 0.01794/0.5391, allocations: 8.911 MB / 0.6232 GB, free: 14.03 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)