Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 107 kB / 16.41 MB, free: 6.488 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.001247/0.001247, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7663/0.7663, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.66 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 77.94 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.008454/0.1794, allocations: 5.065 MB / 0.6495 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.1847, allocations: 3.366 MB / 0.6528 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1852, allocations: 11.94 kB / 0.6528 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.187, allocations: 0.5087 MB / 0.6533 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1881, allocations: 394.5 kB / 0.6537 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.189, allocations: 259.4 kB / 0.654 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.1902, allocations: 0.6541 MB / 0.6546 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.1911, allocations: 0.5287 MB / 0.6551 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.1916, allocations: 279.1 kB / 0.6554 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.1922, allocations: 302.9 kB / 0.6557 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.1923, allocations: 44 kB / 0.6557 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.193, allocations: 307.5 kB / 0.656 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1932, allocations: 171.6 kB / 0.6562 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.1936, allocations: 238.9 kB / 0.6564 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1948, allocations: 0.8331 MB / 0.6572 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1948, allocations: 3.984 kB / 0.6572 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1948, allocations: 0 / 0.6572 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.289e-05/0.1948, allocations: 0 / 0.6572 GB, free: 12.01 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001891/0.1967, allocations: 0.8136 MB / 0.658 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.1968, allocations: 8.031 kB / 0.658 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.1999, allocations: 0.683 MB / 0.6587 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.201, allocations: 480 kB / 0.6591 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.2011, allocations: 24.97 kB / 0.6592 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.2012, allocations: 32.12 kB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.2029, allocations: 0.8317 MB / 0.66 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2029, allocations: 0 / 0.66 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.203, allocations: 19.94 kB / 0.66 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.2031, allocations: 56.58 kB / 0.6601 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.2056, allocations: 0.935 MB / 0.661 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.2099, allocations: 2.859 MB / 0.6638 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.2116, allocations: 0.5495 MB / 0.6643 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.2124, allocations: 308.5 kB / 0.6646 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.2126, allocations: 93.09 kB / 0.6647 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2126, allocations: 34.56 kB / 0.6647 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.2126, allocations: 0 / 0.6647 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01281/0.2254, allocations: 3.51 MB / 0.6682 GB, free: 376 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.2255, allocations: 55.41 kB / 0.6682 GB, free: 308 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.2261, allocations: 404.4 kB / 0.6686 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.2262, allocations: 29.7 kB / 0.6686 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.2264, allocations: 236.3 kB / 0.6689 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.2266, allocations: 115 kB / 0.669 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.2268, allocations: 81.62 kB / 0.669 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.2271, allocations: 354.8 kB / 0.6694 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.2281, allocations: 392.5 kB / 0.6698 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.2291, allocations: 464.2 kB / 0.6702 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.2311, allocations: 0.8386 MB / 0.671 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2311, allocations: 0 / 0.671 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005267/0.2364, allocations: 1.658 MB / 0.6726 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2365, allocations: 9.344 kB / 0.6727 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.2365, allocations: 4 kB / 0.6727 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.2402, allocations: 0.8764 MB / 0.6735 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.2408, allocations: 131.8 kB / 0.6736 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007858/0.2487, allocations: 6.672 MB / 0.6802 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.2495, allocations: 111.8 kB / 0.6803 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.2496, allocations: 23.92 kB / 0.6803 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001141/0.2507, allocations: 0.57 MB / 0.6808 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000956/0.2517, allocations: 456.1 kB / 0.6813 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001855/0.2535, allocations: 0.8155 MB / 0.6821 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.2536, allocations: 0 / 0.6821 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004491/0.2581, allocations: 1.642 MB / 0.6837 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2581, allocations: 4 kB / 0.6837 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2581, allocations: 4 kB / 0.6837 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/0.2606, allocations: 0.647 MB / 0.6843 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.2612, allocations: 131.8 kB / 0.6844 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/0.2683, allocations: 7.29 MB / 0.6916 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.2692, allocations: 103.8 kB / 0.6917 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.2692, allocations: 24.05 kB / 0.6917 GB, free: 7.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.2694, allocations: 196.2 kB / 0.6919 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2696, allocations: 43.69 kB / 0.6919 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.2742, allocations: 1.548 MB / 0.6934 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2742, allocations: 4 kB / 0.6934 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2742, allocations: 0 / 0.6934 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2742, allocations: 3.984 kB / 0.6934 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005239/0.2795, allocations: 2.197 MB / 0.6956 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2795, allocations: 4 kB / 0.6956 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.2798, allocations: 79.83 kB / 0.6957 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/0.2829, allocations: 0.8179 MB / 0.6965 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.283, allocations: 8 kB / 0.6965 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/0.2902, allocations: 6.523 MB / 0.7028 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2903, allocations: 0 / 0.7028 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.2948, allocations: 1.534 MB / 0.7043 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.2951, allocations: 172.8 kB / 0.7045 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.2952, allocations: 12 kB / 0.7045 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.2958, allocations: 83.86 kB / 0.7046 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.2959, allocations: 35.83 kB / 0.7046 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.296, allocations: 12 kB / 0.7046 GB, free: 9.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004284/0.2964, allocations: 311.1 kB / 0.7049 GB, free: 8.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.2964, allocations: 0 / 0.7049 GB, free: 8.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001068/0.2975, allocations: 243.9 kB / 0.7052 GB, free: 8.645 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002041/0.2977, allocations: 111.4 kB / 0.7053 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004629/0.3023, allocations: 2.228 MB / 0.7074 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3023, allocations: 0 / 0.7074 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.3038, allocations: 0.8044 MB / 0.7082 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.3045, allocations: 128.7 kB / 0.7083 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3065, allocations: 1.148 MB / 0.7095 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.3071, allocations: 0.9258 MB / 0.7104 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005206/0.3076, allocations: 171.2 kB / 0.7105 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3078, allocations: 35.41 kB / 0.7106 GB, free: 2.898 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.3078, allocations: 0 / 0.7106 GB, free: 2.898 MB / 0.545 GB Notification: Performance of Templates: time 0.02212/0.3299, allocations: 14.79 MB / 0.725 GB, free: 4.184 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)