Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001628/0.001628, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 280.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 96.02 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1509, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01497/0.166, allocations: 13.95 MB / 0.6931 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1793, allocations: 9.381 MB / 0.7022 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.1808, allocations: 51.69 kB / 0.7023 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.1846, allocations: 1.57 MB / 0.7038 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.1885, allocations: 1.404 MB / 0.7052 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1903, allocations: 0.6902 MB / 0.7059 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.1936, allocations: 3.167 MB / 0.709 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.1954, allocations: 1.356 MB / 0.7103 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.1966, allocations: 0.9377 MB / 0.7112 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1979, allocations: 1.136 MB / 0.7123 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1981, allocations: 100 kB / 0.7124 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1996, allocations: 0.885 MB / 0.7133 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.2001, allocations: 0.5529 MB / 0.7138 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007963/0.2009, allocations: 0.8704 MB / 0.7147 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.2032, allocations: 2.726 MB / 0.7173 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2033, allocations: 4 kB / 0.7173 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2033, allocations: 0 / 0.7173 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.2033, allocations: 0 / 0.7173 GB, free: 10.25 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003615/0.2069, allocations: 2.143 MB / 0.7194 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.207, allocations: 12.02 kB / 0.7194 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.2179, allocations: 2.089 MB / 0.7215 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.2202, allocations: 1.201 MB / 0.7226 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.2203, allocations: 94.66 kB / 0.7227 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.2205, allocations: 124 kB / 0.7228 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.226, allocations: 2.683 MB / 0.7255 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.226, allocations: 15.92 kB / 0.7255 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.2262, allocations: 51.98 kB / 0.7255 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006013/0.2268, allocations: 178.1 kB / 0.7257 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006963/0.2338, allocations: 2.795 MB / 0.7284 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.2476, allocations: 10.5 MB / 0.7387 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006349/0.254, allocations: 2.529 MB / 0.7411 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.2569, allocations: 1.29 MB / 0.7424 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.257, allocations: 12.98 kB / 0.7424 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.257, allocations: 39.56 kB / 0.7425 GB, free: 15.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.257, allocations: 0 / 0.7425 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04433/0.3014, allocations: 13.36 MB / 0.7555 GB, free: 2.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3015, allocations: 64.72 kB / 0.7556 GB, free: 1.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.3029, allocations: 1.121 MB / 0.7567 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.303, allocations: 45.7 kB / 0.7567 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.3035, allocations: 0.7156 MB / 0.7574 GB, free: 20 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.304, allocations: 453.5 kB / 0.7578 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/0.3045, allocations: 263.4 kB / 0.7581 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3047, allocations: 361.9 kB / 0.7584 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/0.3078, allocations: 1.339 MB / 0.7597 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003284/0.3111, allocations: 1.608 MB / 0.7613 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006478/0.3175, allocations: 2.994 MB / 0.7642 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3176, allocations: 0 / 0.7642 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0111/0.3287, allocations: 4.439 MB / 0.7686 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.3287, allocations: 14.48 kB / 0.7686 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3287, allocations: 8.031 kB / 0.7686 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/0.3342, allocations: 1.431 MB / 0.77 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.3361, allocations: 439.2 kB / 0.7704 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2676/0.6038, allocations: 24.56 MB / 0.7944 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.606, allocations: 304.5 kB / 0.7947 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6062, allocations: 59.44 kB / 0.7947 GB, free: 72.59 MB / 0.5606 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007088/0.6069, allocations: 436.7 kB / 0.7951 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6071, allocations: 165.8 kB / 0.7953 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.618, allocations: 4.45 MB / 0.7997 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.6181, allocations: 12.78 kB / 0.7997 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.6181, allocations: 12.97 kB / 0.7997 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6181, allocations: 9.703 kB / 0.7997 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.6307, allocations: 6.761 MB / 0.8063 GB, free: 68.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6307, allocations: 3.062 kB / 0.8063 GB, free: 68.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.6323, allocations: 384.5 kB / 0.8067 GB, free: 68.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/0.6371, allocations: 1.309 MB / 0.8079 GB, free: 68.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.6373, allocations: 36.64 kB / 0.808 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.6556, allocations: 23.5 MB / 0.8309 GB, free: 47.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6557, allocations: 2.906 kB / 0.8309 GB, free: 47.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009508/0.6652, allocations: 4.214 MB / 0.835 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/0.6662, allocations: 453.2 kB / 0.8355 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005253/0.6667, allocations: 31.84 kB / 0.8355 GB, free: 44.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.6688, allocations: 309.1 kB / 0.8358 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.6693, allocations: 124.1 kB / 0.8359 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.6694, allocations: 51.34 kB / 0.836 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009255/0.6704, allocations: 0.7475 MB / 0.8367 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6704, allocations: 0 / 0.8367 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001993/0.6724, allocations: 0.571 MB / 0.8372 GB, free: 43.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.6726, allocations: 142.2 kB / 0.8374 GB, free: 43.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009021/0.6817, allocations: 5.128 MB / 0.8424 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.6817, allocations: 0 / 0.8424 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005886/0.6876, allocations: 3.495 MB / 0.8458 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.6899, allocations: 0.5162 MB / 0.8463 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.697, allocations: 4.654 MB / 0.8509 GB, free: 32.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.6978, allocations: 1.481 MB / 0.8523 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001529/0.6993, allocations: 420.8 kB / 0.8527 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.6997, allocations: 111.4 kB / 0.8528 GB, free: 29.98 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.6997, allocations: 4 kB / 0.8528 GB, free: 29.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.04511/0.7448, allocations: 37.75 MB / 0.8897 GB, free: 8.691 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)