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.001325/0.001325, 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.001298/0.001298, allocations: 193.2 kB / 16.14 MB, free: 6.715 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002628/0.002628, allocations: 294.9 kB / 290.2 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 100.5 kB / 0.6057 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1579, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01775/0.1757, allocations: 13.95 MB / 0.7064 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1905, allocations: 9.388 MB / 0.7156 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.1924, allocations: 55.62 kB / 0.7156 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.1966, allocations: 1.566 MB / 0.7172 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.2011, allocations: 1.411 MB / 0.7185 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.2029, allocations: 0.6858 MB / 0.7192 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004059/0.207, allocations: 3.179 MB / 0.7223 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.2091, allocations: 1.356 MB / 0.7236 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.2105, allocations: 0.9377 MB / 0.7246 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.2122, allocations: 1.14 MB / 0.7257 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.2125, allocations: 100 kB / 0.7258 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.2145, allocations: 0.8734 MB / 0.7266 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.2152, allocations: 0.5568 MB / 0.7272 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.2162, allocations: 0.8704 MB / 0.728 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.2192, allocations: 2.733 MB / 0.7307 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2192, allocations: 0 / 0.7307 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2192, allocations: 0 / 0.7307 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.2193, allocations: 0 / 0.7307 GB, free: 13.89 MB / 0.5294 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.004108/0.2234, allocations: 2.135 MB / 0.7328 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2234, allocations: 8.031 kB / 0.7328 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.2351, allocations: 2.089 MB / 0.7348 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.2376, allocations: 1.205 MB / 0.736 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.2377, allocations: 86.73 kB / 0.7361 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.2379, allocations: 124.1 kB / 0.7362 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006003/0.2439, allocations: 2.682 MB / 0.7388 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.244, allocations: 7.938 kB / 0.7388 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.2442, allocations: 55.98 kB / 0.7389 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006401/0.2448, allocations: 178.1 kB / 0.739 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00762/0.2525, allocations: 2.795 MB / 0.7418 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.2681, allocations: 10.5 MB / 0.752 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/0.2752, allocations: 2.527 MB / 0.7545 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.2784, allocations: 1.295 MB / 0.7558 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.2785, allocations: 9 kB / 0.7558 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.2786, allocations: 47.55 kB / 0.7558 GB, free: 3.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.2786, allocations: 4 kB / 0.7558 GB, free: 3.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.3023/0.5809, allocations: 13.33 MB / 0.7688 GB, free: 64.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.581, allocations: 73.05 kB / 0.7689 GB, free: 64.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.5824, allocations: 1.127 MB / 0.77 GB, free: 63.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5825, allocations: 46.83 kB / 0.7701 GB, free: 63.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.5829, allocations: 0.7153 MB / 0.7708 GB, free: 63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.5832, allocations: 453.2 kB / 0.7712 GB, free: 62.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/0.5837, allocations: 261.1 kB / 0.7714 GB, free: 62.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.5838, allocations: 362 kB / 0.7718 GB, free: 62.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/0.587, allocations: 1.338 MB / 0.7731 GB, free: 61.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.5902, allocations: 1.6 MB / 0.7747 GB, free: 61.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006144/0.5964, allocations: 2.995 MB / 0.7776 GB, free: 59.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5964, allocations: 2.125 kB / 0.7776 GB, free: 59.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01078/0.6072, allocations: 4.446 MB / 0.7819 GB, free: 58.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6072, allocations: 7.781 kB / 0.7819 GB, free: 58.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6072, allocations: 6.75 kB / 0.7819 GB, free: 58.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.6125, allocations: 1.429 MB / 0.7833 GB, free: 57.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.6143, allocations: 436.9 kB / 0.7837 GB, free: 57.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.6346, allocations: 24.56 MB / 0.8077 GB, free: 35.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.637, allocations: 298 kB / 0.808 GB, free: 35.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.6372, allocations: 69.92 kB / 0.8081 GB, free: 35.2 MB / 0.545 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.0007532/0.6379, allocations: 434.1 kB / 0.8085 GB, free: 34.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.6382, allocations: 159.2 kB / 0.8087 GB, free: 34.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.6484, allocations: 4.46 MB / 0.813 GB, free: 32.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.6484, allocations: 15.72 kB / 0.813 GB, free: 32.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.6485, allocations: 11.84 kB / 0.813 GB, free: 32.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6485, allocations: 7.969 kB / 0.813 GB, free: 32.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.6609, allocations: 6.761 MB / 0.8196 GB, free: 27.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.6609, allocations: 12 kB / 0.8197 GB, free: 27.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.6625, allocations: 375.4 kB / 0.82 GB, free: 27.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004416/0.6669, allocations: 1.31 MB / 0.8213 GB, free: 25.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.667, allocations: 39.97 kB / 0.8213 GB, free: 25.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.6843, allocations: 23.51 MB / 0.8443 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6843, allocations: 0 / 0.8443 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.6953, allocations: 4.2 MB / 0.8484 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/0.6962, allocations: 459 kB / 0.8488 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.6965, allocations: 24.94 kB / 0.8488 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.6985, allocations: 307.5 kB / 0.8491 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/0.6989, allocations: 132.8 kB / 0.8493 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.699, allocations: 47.97 kB / 0.8493 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001083/0.7001, allocations: 0.7526 MB / 0.85 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7001, allocations: 0 / 0.85 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002026/0.7021, allocations: 0.5691 MB / 0.8506 GB, free: 10.07 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.0003067/0.7025, allocations: 149.9 kB / 0.8507 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01139/0.7139, allocations: 5.122 MB / 0.8558 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7139, allocations: 0 / 0.8558 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/0.7213, allocations: 3.49 MB / 0.8592 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.7237, allocations: 0.5065 MB / 0.8597 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.7329, allocations: 4.653 MB / 0.8642 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.7343, allocations: 1.476 MB / 0.8656 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00184/0.7362, allocations: 434.1 kB / 0.8661 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.7366, allocations: 115.4 kB / 0.8662 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7366, allocations: 0 / 0.8662 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.06245/0.799, allocations: 37.75 MB / 0.903 GB, free: 4.508 MB / 0.6075 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)