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.001206/0.001206, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001313/0.001313, allocations: 199 kB / 16.26 MB, free: 6.629 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 286.3 kB / 290.4 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 94.44 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1445, allocations: 86.99 MB / 0.6796 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03375/0.1783, allocations: 33.01 MB / 0.7119 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.2006, allocations: 14.68 MB / 0.7262 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.2045, allocations: 143.2 kB / 0.7263 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00918/0.2137, allocations: 3.407 MB / 0.7297 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.2217, allocations: 2.666 MB / 0.7323 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005669/0.2274, allocations: 2.128 MB / 0.7344 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.2386, allocations: 8.842 MB / 0.743 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.2552, allocations: 11.35 MB / 0.7541 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006395/0.2617, allocations: 4.019 MB / 0.758 GB, free: 496 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006367/0.2681, allocations: 4.217 MB / 0.7621 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002143/0.2702, allocations: 0.7188 MB / 0.7628 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.275, allocations: 1.708 MB / 0.7645 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004364/0.2793, allocations: 2.83 MB / 0.7673 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006418/0.2858, allocations: 3.396 MB / 0.7706 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.574/0.8598, allocations: 11.19 MB / 0.7815 GB, free: 37.26 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8598, allocations: 0 / 0.7815 GB, free: 37.26 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8598, allocations: 1.156 kB / 0.7815 GB, free: 37.26 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0003954/0.8602, allocations: 0 / 0.7815 GB, free: 37.26 MB / 0.5607 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.02134/0.8816, allocations: 5.984 MB / 0.7873 GB, free: 35.08 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8816, allocations: 9.719 kB / 0.7874 GB, free: 35.08 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009143/0.8908, allocations: 1.136 MB / 0.7885 GB, free: 34.78 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.9009, allocations: 3.324 MB / 0.7917 GB, free: 34.04 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000577/0.9015, allocations: 374.5 kB / 0.7921 GB, free: 34.02 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003729/0.9053, allocations: 493.7 kB / 0.7925 GB, free: 34.02 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.9317, allocations: 8.01 MB / 0.8004 GB, free: 33.17 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004488/0.9321, allocations: 23.89 kB / 0.8004 GB, free: 33.16 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002807/0.935, allocations: 217.5 kB / 0.8006 GB, free: 33.16 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/0.9364, allocations: 445.4 kB / 0.801 GB, free: 33.14 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.9519, allocations: 6.075 MB / 0.8069 GB, free: 33.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04322/0.9951, allocations: 35.16 MB / 0.8413 GB, free: 3.254 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.9978, allocations: 2.029 MB / 0.8433 GB, free: 2.188 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/1, allocations: 1.875 MB / 0.8451 GB, free: 1.215 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/1, allocations: 18.06 kB / 0.8451 GB, free: 1.215 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1, allocations: 55.34 kB / 0.8452 GB, free: 1.16 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=171): time 3.637e-06/1, allocations: 0 / 0.8452 GB, free: 1.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=276): time 0.1386/1.139, allocations: 38.87 MB / 0.8831 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.139, allocations: 89.58 kB / 0.8832 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/1.143, allocations: 2.281 MB / 0.8854 GB, free: 220 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003062/1.143, allocations: 73.7 kB / 0.8855 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.144, allocations: 2.277 MB / 0.8877 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008379/1.145, allocations: 0.9235 MB / 0.8886 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/1.146, allocations: 0.51 MB / 0.8891 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/1.146, allocations: 305.1 kB / 0.8894 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/1.149, allocations: 1.973 MB / 0.8914 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/1.152, allocations: 2.599 MB / 0.8939 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/1.158, allocations: 4.936 MB / 0.8987 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/1.158, allocations: 7.938 kB / 0.8987 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0144/1.173, allocations: 7.75 MB / 0.9063 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.173, allocations: 17.94 kB / 0.9063 GB, free: 10.52 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/1.173, allocations: 20 kB / 0.9063 GB, free: 10.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009518/1.183, allocations: 3.242 MB / 0.9095 GB, free: 7.246 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.184, allocations: 397.4 kB / 0.9099 GB, free: 6.883 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04379/1.228, allocations: 33.91 MB / 0.943 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.232, allocations: 163.8 kB / 0.9431 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/1.232, allocations: 108 kB / 0.9432 GB, free: 3.961 MB / 0.6544 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.003934/1.236, allocations: 1.801 MB / 0.945 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/1.237, allocations: 324.2 kB / 0.9453 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.251, allocations: 7.36 MB / 0.9525 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.251, allocations: 24 kB / 0.9525 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/1.251, allocations: 32 kB / 0.9525 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.251, allocations: 15.94 kB / 0.9526 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.275, allocations: 12.92 MB / 0.9652 GB, free: 13.55 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.275, allocations: 4 kB / 0.9652 GB, free: 13.55 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/1.276, allocations: 233.1 kB / 0.9654 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008312/1.285, allocations: 2.887 MB / 0.9682 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003736/1.285, allocations: 48 kB / 0.9683 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0419/1.327, allocations: 32.69 MB / 1 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.327, allocations: 8 kB / 1 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.34, allocations: 6.892 MB / 1.007 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.342, allocations: 0.7744 MB / 1.008 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.343, allocations: 60.31 kB / 1.008 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.346, allocations: 167.8 kB / 1.008 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009574/1.347, allocations: 252.6 kB / 1.008 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.347, allocations: 80 kB / 1.008 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002975/1.35, allocations: 1.525 MB / 1.01 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.91e-07/1.35, allocations: 0 / 1.01 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005507/1.356, allocations: 1.375 MB / 1.011 GB, free: 13.68 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.000483/1.356, allocations: 173.9 kB / 1.011 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01476/1.371, allocations: 8.382 MB / 1.019 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.371, allocations: 0 / 1.019 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007721/1.379, allocations: 4.408 MB / 1.024 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005672/1.384, allocations: 1.115 MB / 1.025 GB, free: 15.61 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.404, allocations: 12.48 MB / 1.037 GB, free: 3.066 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/1.409, allocations: 3.639 MB / 1.041 GB, free: 15.39 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002215/1.412, allocations: 0.5595 MB / 1.041 GB, free: 14.83 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/1.412, allocations: 163.4 kB / 1.041 GB, free: 14.67 MB / 0.7638 GB Notification: Performance of SimCode: time 8.01e-07/1.412, allocations: 0 / 1.041 GB, free: 14.67 MB / 0.7638 GB Notification: Performance of Templates: time 0.3611/1.773, allocations: 78.09 MB / 1.118 GB, free: 239.6 MB / 0.7638 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)