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.00158/0.00158, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001756/0.001756, allocations: 194.8 kB / 16.25 MB, free: 6.648 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002622/0.002622, allocations: 274.9 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 178.6 MB / 0.5069 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 103.3 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1706, allocations: 89.14 MB / 0.693 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.06948/0.2401, allocations: 33.02 MB / 0.7252 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04412/0.2843, allocations: 14.68 MB / 0.7396 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/0.2882, allocations: 139.2 kB / 0.7397 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009401/0.2976, allocations: 3.418 MB / 0.743 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009265/0.3069, allocations: 2.662 MB / 0.7456 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.3133, allocations: 2.132 MB / 0.7477 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3256, allocations: 8.834 MB / 0.7564 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3211/0.6467, allocations: 11.35 MB / 0.7674 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/0.6534, allocations: 4.007 MB / 0.7713 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006348/0.6598, allocations: 4.217 MB / 0.7755 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.6612, allocations: 0.7209 MB / 0.7762 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.6648, allocations: 1.716 MB / 0.7778 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003405/0.6682, allocations: 2.83 MB / 0.7806 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007286/0.6755, allocations: 3.389 MB / 0.7839 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.6899, allocations: 11.2 MB / 0.7949 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.69, allocations: 0.9375 kB / 0.7949 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.996e-06/0.69, allocations: 0 / 0.7949 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004208/0.6904, allocations: 1.406 kB / 0.7949 GB, free: 11.89 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.01911/0.7095, allocations: 5.984 MB / 0.8007 GB, free: 9.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7096, allocations: 9.031 kB / 0.8007 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/0.7166, allocations: 1.143 MB / 0.8018 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005743/0.7224, allocations: 3.322 MB / 0.8051 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.7226, allocations: 373.6 kB / 0.8054 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008297/0.7234, allocations: 493 kB / 0.8059 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.7359, allocations: 8.015 MB / 0.8137 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.736, allocations: 18.25 kB / 0.8137 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005241/0.7366, allocations: 223.5 kB / 0.814 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/0.7377, allocations: 441.8 kB / 0.8144 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008994/0.7467, allocations: 6.081 MB / 0.8203 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.7939, allocations: 35.15 MB / 0.8546 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.7972, allocations: 2.025 MB / 0.8566 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.8, allocations: 1.871 MB / 0.8584 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.8002, allocations: 18 kB / 0.8585 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.8002, allocations: 52.56 kB / 0.8585 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 3.517e-06/0.8002, allocations: 0 / 0.8585 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.167/0.9673, allocations: 38.88 MB / 0.8965 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.9674, allocations: 77.58 kB / 0.8966 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.9711, allocations: 2.286 MB / 0.8988 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.9716, allocations: 73.7 kB / 0.8989 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.974, allocations: 2.28 MB / 0.9011 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.9753, allocations: 0.9303 MB / 0.902 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.9764, allocations: 0.5061 MB / 0.9025 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9765, allocations: 301.1 kB / 0.9028 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.9798, allocations: 1.97 MB / 0.9047 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/0.9837, allocations: 2.605 MB / 0.9072 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007947/0.9917, allocations: 4.935 MB / 0.9121 GB, free: 184 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.9917, allocations: 11.94 kB / 0.9121 GB, free: 172 kB / 0.6387 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01682/1.009, allocations: 7.751 MB / 0.9196 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/1.009, allocations: 12 kB / 0.9197 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/1.009, allocations: 16 kB / 0.9197 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/1.019, allocations: 3.241 MB / 0.9228 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.021, allocations: 400.8 kB / 0.9232 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04881/1.07, allocations: 33.9 MB / 0.9563 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/1.073, allocations: 159.8 kB / 0.9565 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.073, allocations: 108 kB / 0.9566 GB, free: 1.988 MB / 0.6856 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.003559/1.077, allocations: 1.796 MB / 0.9583 GB, free: 212 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007282/1.077, allocations: 340.1 kB / 0.9587 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.093, allocations: 7.356 MB / 0.9658 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/1.093, allocations: 35.27 kB / 0.9659 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/1.093, allocations: 28 kB / 0.9659 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/1.093, allocations: 11.95 kB / 0.9659 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/1.118, allocations: 12.92 MB / 0.9785 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.118, allocations: 8 kB / 0.9785 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.119, allocations: 231.3 kB / 0.9788 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008915/1.128, allocations: 2.88 MB / 0.9816 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/1.128, allocations: 52 kB / 0.9816 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04779/1.176, allocations: 32.7 MB / 1.014 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.176, allocations: 14.66 kB / 1.014 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.189, allocations: 6.886 MB / 1.02 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.191, allocations: 0.7783 MB / 1.021 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/1.192, allocations: 51.98 kB / 1.021 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.194, allocations: 167.8 kB / 1.021 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008258/1.194, allocations: 257.4 kB / 1.022 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.195, allocations: 72 kB / 1.022 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00231/1.197, allocations: 1.525 MB / 1.023 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.197, allocations: 4 kB / 1.023 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004578/1.201, allocations: 1.371 MB / 1.024 GB, free: 11.69 MB / 0.7637 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.0003817/1.202, allocations: 172.4 kB / 1.025 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.218, allocations: 8.381 MB / 1.033 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.218, allocations: 12.06 kB / 1.033 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008445/1.226, allocations: 4.412 MB / 1.037 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/1.232, allocations: 1.108 MB / 1.038 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.253, allocations: 12.5 MB / 1.05 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2649/1.518, allocations: 3.633 MB / 1.054 GB, free: 269.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002404/1.521, allocations: 0.5546 MB / 1.054 GB, free: 269.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/1.521, allocations: 161.5 kB / 1.055 GB, free: 269.5 MB / 0.7794 GB Notification: Performance of SimCode: time 8.51e-07/1.521, allocations: 0 / 1.055 GB, free: 269.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.1134/1.635, allocations: 78.11 MB / 1.131 GB, free: 229.4 MB / 0.7794 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)