Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001192/0.001192, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001569/0.001569, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 278.1 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9919/0.9919, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006965/0.0006966, allocations: 16.97 kB / 0.598 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1979, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005614/0.2036, allocations: 4.888 MB / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.2078, allocations: 2.499 MB / 0.6917 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.2082, allocations: 19.88 kB / 0.6917 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.2085, allocations: 104.3 kB / 0.6918 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.2093, allocations: 334.8 kB / 0.6921 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.21, allocations: 302.4 kB / 0.6924 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2111, allocations: 1.049 MB / 0.6935 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2123, allocations: 0.7428 MB / 0.6942 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.2127, allocations: 314.7 kB / 0.6945 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2132, allocations: 378.5 kB / 0.6948 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.2132, allocations: 31.94 kB / 0.6949 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.2136, allocations: 183.8 kB / 0.695 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.2139, allocations: 219.3 kB / 0.6953 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.214, allocations: 145.3 kB / 0.6954 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.2147, allocations: 0.7169 MB / 0.6961 GB, free: 3.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2147, allocations: 8 kB / 0.6961 GB, free: 3.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2147, allocations: 0 / 0.6961 GB, free: 3.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2147, allocations: 0 / 0.6961 GB, free: 3.488 MB / 494.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.001278/0.216, allocations: 0.8567 MB / 0.6969 GB, free: 2.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2161, allocations: 8.031 kB / 0.6969 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.2173, allocations: 195 kB / 0.6971 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.218, allocations: 481.5 kB / 0.6976 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.2181, allocations: 33 kB / 0.6976 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2182, allocations: 55.89 kB / 0.6977 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2194, allocations: 0.8322 MB / 0.6985 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.2194, allocations: 7.938 kB / 0.6985 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.2195, allocations: 24 kB / 0.6985 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.2197, allocations: 64.94 kB / 0.6986 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.2206, allocations: 0.5619 MB / 0.6991 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.2249, allocations: 4.597 MB / 0.7036 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.2254, allocations: 299.1 kB / 0.7039 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.2257, allocations: 225.3 kB / 0.7041 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2258, allocations: 4.281 kB / 0.7041 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2258, allocations: 38.84 kB / 0.7042 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 4.068e-06/0.2258, allocations: 0 / 0.7042 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005321/0.2312, allocations: 2.647 MB / 0.7067 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2312, allocations: 55.41 kB / 0.7068 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005345/0.2318, allocations: 454 kB / 0.7072 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.2318, allocations: 37.7 kB / 0.7073 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.2321, allocations: 335.7 kB / 0.7076 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2322, allocations: 145.9 kB / 0.7077 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.2323, allocations: 12 kB / 0.7077 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2324, allocations: 358.8 kB / 0.7081 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.2328, allocations: 241 kB / 0.7083 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.2333, allocations: 410.4 kB / 0.7087 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.2338, allocations: 289.5 kB / 0.709 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2338, allocations: 8 kB / 0.709 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001601/0.2354, allocations: 0.9097 MB / 0.7099 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2355, allocations: 6.844 kB / 0.7099 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2355, allocations: 8 kB / 0.7099 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/0.2362, allocations: 230.4 kB / 0.7101 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.2367, allocations: 119.8 kB / 0.7102 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.2415, allocations: 4.927 MB / 0.715 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.242, allocations: 31.97 kB / 0.7151 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.242, allocations: 20 kB / 0.7151 GB, free: 14.84 MB / 0.5137 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.2424, allocations: 229.7 kB / 0.7153 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.2425, allocations: 55.34 kB / 0.7154 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.244, allocations: 0.7773 MB / 0.7161 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.244, allocations: 4 kB / 0.7161 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.244, allocations: 4 kB / 0.7161 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.244, allocations: 3.984 kB / 0.7161 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.2463, allocations: 1.502 MB / 0.7176 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2464, allocations: 0 / 0.7176 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.2467, allocations: 67.88 kB / 0.7177 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006361/0.2474, allocations: 206.5 kB / 0.7179 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.2474, allocations: 12 kB / 0.7179 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/0.252, allocations: 4.872 MB / 0.7226 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.252, allocations: 0 / 0.7226 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2538, allocations: 1.123 MB / 0.7237 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.254, allocations: 168.4 kB / 0.7239 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.2541, allocations: 19.92 kB / 0.7239 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.2544, allocations: 23.97 kB / 0.7239 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.2545, allocations: 40.16 kB / 0.724 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.2545, allocations: 16 kB / 0.724 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003331/0.2549, allocations: 306.9 kB / 0.7243 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2549, allocations: 4 kB / 0.7243 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006686/0.2555, allocations: 164 kB / 0.7244 GB, free: 4.68 MB / 0.5137 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001557/0.2557, allocations: 127.1 kB / 0.7245 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.2572, allocations: 1.001 MB / 0.7255 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2572, allocations: 0 / 0.7255 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.2581, allocations: 0.6773 MB / 0.7262 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.259, allocations: 172.6 kB / 0.7264 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.2611, allocations: 1.496 MB / 0.7278 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.2617, allocations: 0.9455 MB / 0.7287 GB, free: 112 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003703/0.2621, allocations: 113 kB / 0.7288 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.2622, allocations: 39.44 kB / 0.7289 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2622, allocations: 0 / 0.7289 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.01412/0.2763, allocations: 8.179 MB / 0.7369 GB, free: 7.902 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)