Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002103/0.002103, allocations: 193.1 kB / 16.14 MB, free: 6.695 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 282.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 95.14 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1778, allocations: 89.16 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008662/0.1865, allocations: 6.144 MB / 0.6988 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0053/0.1919, allocations: 3.201 MB / 0.7019 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.1923, allocations: 27.81 kB / 0.702 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.1946, allocations: 0.872 MB / 0.7028 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1956, allocations: 438 kB / 0.7032 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1968, allocations: 462.5 kB / 0.7037 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1983, allocations: 1.467 MB / 0.7051 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00097/0.1993, allocations: 0.6289 MB / 0.7057 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.1999, allocations: 390.3 kB / 0.7061 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.2005, allocations: 486.1 kB / 0.7065 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.2006, allocations: 40 kB / 0.7066 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2016, allocations: 0.5847 MB / 0.7072 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.2019, allocations: 271.3 kB / 0.7074 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.2023, allocations: 381.9 kB / 0.7078 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2037, allocations: 1.199 MB / 0.7089 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2037, allocations: 0 / 0.7089 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2037, allocations: 0 / 0.7089 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2038, allocations: 0 / 0.7089 GB, free: 4.246 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001764/0.2055, allocations: 1.056 MB / 0.71 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2056, allocations: 8.031 kB / 0.71 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.2071, allocations: 223.6 kB / 0.7102 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.2079, allocations: 0.5453 MB / 0.7107 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.2079, allocations: 45.67 kB / 0.7108 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.208, allocations: 64.36 kB / 0.7108 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2096, allocations: 1.038 MB / 0.7119 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2096, allocations: 11.84 kB / 0.7119 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.2097, allocations: 27.98 kB / 0.7119 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.821e-05/0.2098, allocations: 73.27 kB / 0.712 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.2109, allocations: 0.6879 MB / 0.7126 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/0.2164, allocations: 5.752 MB / 0.7182 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.2173, allocations: 0.5949 MB / 0.7188 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.2181, allocations: 412.6 kB / 0.7192 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2182, allocations: 4 kB / 0.7192 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2182, allocations: 38.56 kB / 0.7193 GB, free: 9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.2182, allocations: 7.938 kB / 0.7193 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.00462/0.2228, allocations: 2.061 MB / 0.7213 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2229, allocations: 55.41 kB / 0.7213 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.2234, allocations: 466.7 kB / 0.7218 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2235, allocations: 33.7 kB / 0.7218 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.2238, allocations: 391 kB / 0.7222 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.2239, allocations: 153.8 kB / 0.7223 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2241, allocations: 102.2 kB / 0.7224 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2243, allocations: 374.8 kB / 0.7228 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.2247, allocations: 241.2 kB / 0.723 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.2253, allocations: 457 kB / 0.7235 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2263, allocations: 0.7478 MB / 0.7242 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2263, allocations: 4 kB / 0.7242 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002047/0.2284, allocations: 1.07 MB / 0.7252 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2284, allocations: 8 kB / 0.7252 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2284, allocations: 4 kB / 0.7252 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.2296, allocations: 335.4 kB / 0.7256 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2299, allocations: 103.8 kB / 0.7257 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.2376, allocations: 6.959 MB / 0.7325 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.238, allocations: 23.98 kB / 0.7325 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.2381, allocations: 28 kB / 0.7325 GB, free: 10.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.2385, allocations: 245.5 kB / 0.7327 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2386, allocations: 67.23 kB / 0.7328 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.2406, allocations: 0.9078 MB / 0.7337 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2406, allocations: 4 kB / 0.7337 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2406, allocations: 8 kB / 0.7337 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2406, allocations: 3.984 kB / 0.7337 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.2436, allocations: 1.716 MB / 0.7354 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.2436, allocations: 4 kB / 0.7354 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2438, allocations: 39.91 kB / 0.7354 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.2449, allocations: 327.2 kB / 0.7357 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.245, allocations: 8 kB / 0.7357 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.2533, allocations: 6.943 MB / 0.7425 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.2533, allocations: 7.984 kB / 0.7425 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.2553, allocations: 1.007 MB / 0.7435 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.2557, allocations: 172.3 kB / 0.7437 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.2557, allocations: 15.98 kB / 0.7437 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.256, allocations: 23.98 kB / 0.7437 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.2562, allocations: 43.88 kB / 0.7438 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.2562, allocations: 11.94 kB / 0.7438 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004766/0.2567, allocations: 310.9 kB / 0.7441 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2567, allocations: 0 / 0.7441 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009118/0.2576, allocations: 196 kB / 0.7443 GB, free: 13.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.2579, allocations: 119.1 kB / 0.7444 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.2601, allocations: 1.191 MB / 0.7455 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2602, allocations: 128 / 0.7455 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.2616, allocations: 0.8697 MB / 0.7464 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2628, allocations: 190.2 kB / 0.7466 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.2651, allocations: 1.533 MB / 0.7481 GB, free: 9.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.2658, allocations: 0.9882 MB / 0.749 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000328/0.2662, allocations: 101.2 kB / 0.7491 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.2663, allocations: 35.44 kB / 0.7492 GB, free: 8.566 MB / 0.545 GB Notification: Performance of SimCode: time 4.178e-06/0.2663, allocations: 4 kB / 0.7492 GB, free: 8.562 MB / 0.545 GB Notification: Performance of Templates: time 0.01773/0.284, allocations: 9.661 MB / 0.7586 GB, free: 15 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)