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.001003/0.001003, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001162/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 283 kB / 291.4 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.5 MB / 0.5 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.000449, allocations: 11.69 kB / 0.598 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006754/0.2055, allocations: 5.436 MB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004997/0.2106, allocations: 2.983 MB / 0.6927 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.2111, allocations: 24.5 kB / 0.6927 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.2116, allocations: 119 kB / 0.6928 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2126, allocations: 386 kB / 0.6932 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2137, allocations: 380 kB / 0.6936 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2151, allocations: 1.21 MB / 0.6948 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.2168, allocations: 0.9021 MB / 0.6956 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.2174, allocations: 366.4 kB / 0.696 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.218, allocations: 434.4 kB / 0.6964 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.2181, allocations: 32 kB / 0.6964 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006549/0.2187, allocations: 251.6 kB / 0.6967 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.219, allocations: 247.3 kB / 0.6969 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2192, allocations: 165.3 kB / 0.6971 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009361/0.2201, allocations: 0.8766 MB / 0.6979 GB, free: 1.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.86e-06/0.2201, allocations: 0 / 0.6979 GB, free: 1.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2201, allocations: 4 kB / 0.6979 GB, free: 1.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2202, allocations: 0 / 0.6979 GB, free: 1.672 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001451/0.2216, allocations: 0.927 MB / 0.6988 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2217, allocations: 11.97 kB / 0.6988 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2231, allocations: 226.7 kB / 0.6991 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.2239, allocations: 0.5288 MB / 0.6996 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.2239, allocations: 49.3 kB / 0.6996 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.224, allocations: 56 kB / 0.6997 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2254, allocations: 1.029 MB / 0.7007 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.2255, allocations: 0 / 0.7007 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.2255, allocations: 35.98 kB / 0.7007 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.459e-05/0.2257, allocations: 73.25 kB / 0.7008 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2267, allocations: 0.6878 MB / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.2317, allocations: 5.753 MB / 0.7071 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.2325, allocations: 0.6104 MB / 0.7077 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008973/0.2334, allocations: 422 kB / 0.7081 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.2335, allocations: 4 kB / 0.7081 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2335, allocations: 38.56 kB / 0.7081 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.565e-06/0.2335, allocations: 0 / 0.7081 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.006023/0.2396, allocations: 2.054 MB / 0.7101 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.2396, allocations: 59.41 kB / 0.7102 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.2405, allocations: 458.8 kB / 0.7106 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.2406, allocations: 33.7 kB / 0.7106 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.241, allocations: 387 kB / 0.711 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.2412, allocations: 153.9 kB / 0.7112 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.2412, allocations: 12 kB / 0.7112 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000299/0.2416, allocations: 370.7 kB / 0.7115 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.2422, allocations: 241.2 kB / 0.7118 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007865/0.243, allocations: 453 kB / 0.7122 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007241/0.2437, allocations: 315.8 kB / 0.7125 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2438, allocations: 0 / 0.7125 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002905/0.2467, allocations: 1.061 MB / 0.7135 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.2467, allocations: 8.875 kB / 0.7135 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.2468, allocations: 8 kB / 0.7135 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.2483, allocations: 331.1 kB / 0.7139 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.2488, allocations: 99.81 kB / 0.714 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.2599, allocations: 6.943 MB / 0.7207 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.2607, allocations: 32.02 kB / 0.7208 GB, free: 8.797 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.2607, allocations: 24 kB / 0.7208 GB, free: 8.773 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.2613, allocations: 242.9 kB / 0.721 GB, free: 8.527 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.2615, allocations: 59.25 kB / 0.7211 GB, free: 8.469 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.264, allocations: 0.9199 MB / 0.722 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2641, allocations: 4 kB / 0.722 GB, free: 7.523 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2641, allocations: 4 kB / 0.722 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.2641, allocations: 0 / 0.722 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.2689, allocations: 1.708 MB / 0.7237 GB, free: 5.723 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.2689, allocations: 4 kB / 0.7237 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.2693, allocations: 35.97 kB / 0.7237 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.271, allocations: 323.3 kB / 0.724 GB, free: 5.355 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.2711, allocations: 12 kB / 0.724 GB, free: 5.344 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.2831, allocations: 6.951 MB / 0.7308 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2832, allocations: 0 / 0.7308 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.2864, allocations: 0.9995 MB / 0.7318 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/0.2869, allocations: 180.3 kB / 0.7319 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.287, allocations: 19.89 kB / 0.732 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.2875, allocations: 15.98 kB / 0.732 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.2877, allocations: 39.94 kB / 0.732 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.2878, allocations: 12 kB / 0.732 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007164/0.2885, allocations: 306.9 kB / 0.7323 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2885, allocations: 4 kB / 0.7323 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001554/0.2901, allocations: 200 kB / 0.7325 GB, free: 12.04 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002342/0.2903, allocations: 108.2 kB / 0.7326 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.2936, allocations: 1.207 MB / 0.7338 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2937, allocations: 0 / 0.7338 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.2958, allocations: 0.8661 MB / 0.7346 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.2975, allocations: 182.8 kB / 0.7348 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.3014, allocations: 1.486 MB / 0.7363 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.3024, allocations: 0.9921 MB / 0.7372 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006/0.303, allocations: 101.3 kB / 0.7373 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3031, allocations: 35.44 kB / 0.7374 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.3032, allocations: 0 / 0.7374 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.03212/0.3353, allocations: 9.207 MB / 0.7464 GB, free: 13.79 MB / 0.545 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)