Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004844/0.004844, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 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.001677/0.001677, allocations: 266.9 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 20.38 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1707, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03312/0.2038, allocations: 32.19 MB / 0.7166 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.2251, allocations: 14.64 MB / 0.7309 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2282, allocations: 135.2 kB / 0.731 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.2306, allocations: 0.7287 MB / 0.7317 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.2386, allocations: 2.678 MB / 0.7343 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.2443, allocations: 1.994 MB / 0.7363 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01284/0.2571, allocations: 12.2 MB / 0.7482 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.2742, allocations: 11.51 MB / 0.7594 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3258/0.6001, allocations: 2.96 MB / 0.7623 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007928/0.6081, allocations: 3.502 MB / 0.7657 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.6106, allocations: 295.8 kB / 0.766 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005754/0.6163, allocations: 1.557 MB / 0.7675 GB, free: 21.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004449/0.6208, allocations: 2.29 MB / 0.7698 GB, free: 21.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006504/0.6273, allocations: 2.789 MB / 0.7725 GB, free: 20.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.6406, allocations: 10.65 MB / 0.7829 GB, free: 19.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6406, allocations: 0 / 0.7829 GB, free: 19.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.604e-06/0.6406, allocations: 6.906 kB / 0.7829 GB, free: 19.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003387/0.641, allocations: 0 / 0.7829 GB, free: 19.52 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01296/0.6539, allocations: 4.838 MB / 0.7876 GB, free: 17.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.654, allocations: 9.469 kB / 0.7877 GB, free: 17.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008715/0.6627, allocations: 1.143 MB / 0.7888 GB, free: 17.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/0.6703, allocations: 3.327 MB / 0.792 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.6707, allocations: 376 kB / 0.7924 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.6727, allocations: 497.3 kB / 0.7928 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.6895, allocations: 8.007 MB / 0.8007 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.6896, allocations: 32.14 kB / 0.8007 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005483/0.6902, allocations: 214.6 kB / 0.8009 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009781/0.6912, allocations: 437.2 kB / 0.8013 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.7053, allocations: 6.081 MB / 0.8073 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03976/0.7451, allocations: 35.23 MB / 0.8417 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.7479, allocations: 2.037 MB / 0.8437 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.7502, allocations: 1.856 MB / 0.8455 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-05/0.7503, allocations: 17.72 kB / 0.8455 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.7504, allocations: 56.31 kB / 0.8455 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.566e-06/0.7504, allocations: 2.562 kB / 0.8455 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1536/0.9039, allocations: 39 MB / 0.8836 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.904, allocations: 81.58 kB / 0.8837 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.9074, allocations: 2.277 MB / 0.8859 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004177/0.9078, allocations: 73.7 kB / 0.886 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.9092, allocations: 2.282 MB / 0.8882 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/0.9101, allocations: 0.9288 MB / 0.8891 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.9104, allocations: 231.8 kB / 0.8894 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.9105, allocations: 305.1 kB / 0.8896 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.9132, allocations: 1.979 MB / 0.8916 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/0.9163, allocations: 2.604 MB / 0.8941 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/0.9225, allocations: 4.925 MB / 0.8989 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.9226, allocations: 4 kB / 0.8989 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01434/0.9369, allocations: 7.762 MB / 0.9065 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.937, allocations: 12 kB / 0.9065 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.937, allocations: 16 kB / 0.9065 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009126/0.9461, allocations: 3.218 MB / 0.9097 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.9479, allocations: 400.2 kB / 0.9101 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04024/0.9882, allocations: 31.17 MB / 0.9405 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/0.9915, allocations: 163.8 kB / 0.9407 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.9918, allocations: 112 kB / 0.9408 GB, free: 11.16 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003364/0.9951, allocations: 1.802 MB / 0.9425 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.9958, allocations: 328.1 kB / 0.9428 GB, free: 9.055 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.01, allocations: 7.354 MB / 0.95 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.01, allocations: 24 kB / 0.9501 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/1.01, allocations: 32 kB / 0.9501 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/1.01, allocations: 11.95 kB / 0.9501 GB, free: 1.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.033, allocations: 12.94 MB / 0.9627 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.033, allocations: 8 kB / 0.9627 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/1.034, allocations: 237.1 kB / 0.963 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007873/1.041, allocations: 2.847 MB / 0.9657 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.042, allocations: 56 kB / 0.9658 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03767/1.079, allocations: 29.98 MB / 0.9951 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.08, allocations: 10.72 kB / 0.9951 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.092, allocations: 6.891 MB / 1.002 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.094, allocations: 0.7859 MB / 1.003 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/1.094, allocations: 55.94 kB / 1.003 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.096, allocations: 171.8 kB / 1.003 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007662/1.097, allocations: 246.8 kB / 1.003 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.097, allocations: 76 kB / 1.003 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002049/1.099, allocations: 1.525 MB / 1.005 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.099, allocations: 0 / 1.005 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004331/1.103, allocations: 1.367 MB / 1.006 GB, free: 7.645 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/1.104, allocations: 180.4 kB / 1.006 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.116, allocations: 6.915 MB / 1.013 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.116, allocations: 0 / 1.013 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007805/1.123, allocations: 4.416 MB / 1.017 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007311/1.131, allocations: 1.044 MB / 1.018 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.15, allocations: 12.48 MB / 1.03 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004515/1.154, allocations: 3.646 MB / 1.034 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002429/1.157, allocations: 0.5556 MB / 1.034 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.157, allocations: 159.4 kB / 1.035 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.152e-06/1.157, allocations: 0 / 1.035 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.3967/1.554, allocations: 73.46 MB / 1.106 GB, free: 237.7 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)