Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.4 kB / 16.4 MB, free: 6.504 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.001799/0.0018, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.365/1.365, 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.7278/0.7278, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 68.25 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1804, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01921/0.1996, allocations: 14.76 MB / 0.6465 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.2162, allocations: 10.35 MB / 0.6566 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2178, allocations: 55.62 kB / 0.6566 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.2222, allocations: 1.693 MB / 0.6583 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.228, allocations: 1.855 MB / 0.6601 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.2304, allocations: 0.7545 MB / 0.6609 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004023/0.2344, allocations: 2.758 MB / 0.6635 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.2364, allocations: 1.415 MB / 0.6649 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.2389, allocations: 1.531 MB / 0.6664 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.2407, allocations: 1.168 MB / 0.6676 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.2409, allocations: 160 kB / 0.6677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.2427, allocations: 0.7877 MB / 0.6685 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.2434, allocations: 0.6076 MB / 0.6691 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2444, allocations: 0.96 MB / 0.67 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.2478, allocations: 2.757 MB / 0.6727 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2478, allocations: 4 kB / 0.6727 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2478, allocations: 0 / 0.6727 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.018e-05/0.2479, allocations: 0 / 0.6727 GB, free: 10.62 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.004103/0.252, allocations: 2.166 MB / 0.6748 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2521, allocations: 11.97 kB / 0.6748 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.2643, allocations: 2.112 MB / 0.6769 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.2673, allocations: 1.303 MB / 0.6782 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.2674, allocations: 82.69 kB / 0.6783 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.2677, allocations: 128 kB / 0.6784 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006169/0.2739, allocations: 2.667 MB / 0.681 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.2739, allocations: 11.94 kB / 0.681 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.2741, allocations: 55.97 kB / 0.681 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007284/0.2749, allocations: 190.1 kB / 0.6812 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00805/0.2829, allocations: 2.787 MB / 0.6839 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.3011, allocations: 10.47 MB / 0.6942 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/0.3083, allocations: 2.34 MB / 0.6965 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/0.3117, allocations: 1.276 MB / 0.6977 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.3119, allocations: 16.98 kB / 0.6977 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.312, allocations: 39.56 kB / 0.6978 GB, free: 64 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 3.376e-06/0.312, allocations: 0 / 0.6978 GB, free: 64 kB / 0.5294 GB Notification: Performance of matching and sorting (n=153): time 0.06362/0.3756, allocations: 16.49 MB / 0.7139 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.3757, allocations: 72.72 kB / 0.7139 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.3778, allocations: 1.176 MB / 0.7151 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.3781, allocations: 53.64 kB / 0.7151 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.3786, allocations: 0.7398 MB / 0.7159 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/0.3793, allocations: 0.5198 MB / 0.7164 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/0.3799, allocations: 287.4 kB / 0.7166 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3801, allocations: 305.1 kB / 0.7169 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/0.384, allocations: 1.51 MB / 0.7184 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004183/0.3882, allocations: 1.776 MB / 0.7201 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008094/0.3963, allocations: 3.369 MB / 0.7234 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.3963, allocations: 4 kB / 0.7234 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01485/0.4112, allocations: 5.277 MB / 0.7286 GB, free: 52 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.4113, allocations: 9.562 kB / 0.7286 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.4113, allocations: 8 kB / 0.7286 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007381/0.4187, allocations: 1.872 MB / 0.7304 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.4209, allocations: 423.2 kB / 0.7308 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3363/0.7572, allocations: 24.13 MB / 0.7544 GB, free: 95.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.7603, allocations: 306.7 kB / 0.7547 GB, free: 95.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.7606, allocations: 66.25 kB / 0.7548 GB, free: 95.42 MB / 0.5762 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.7617, allocations: 469.1 kB / 0.7552 GB, free: 95.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.7622, allocations: 173.3 kB / 0.7554 GB, free: 95.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7768, allocations: 5.323 MB / 0.7606 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.7768, allocations: 16.25 kB / 0.7606 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/0.7769, allocations: 22.91 kB / 0.7606 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.7769, allocations: 7.875 kB / 0.7606 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.7936, allocations: 7.414 MB / 0.7678 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.7936, allocations: 2.75 kB / 0.7679 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.7954, allocations: 352.1 kB / 0.7682 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005886/0.8013, allocations: 1.711 MB / 0.7699 GB, free: 90.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.8016, allocations: 43.06 kB / 0.7699 GB, free: 90.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/0.8242, allocations: 23.31 MB / 0.7927 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.8243, allocations: 3.938 kB / 0.7927 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.8358, allocations: 4.894 MB / 0.7974 GB, free: 66.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008564/0.8367, allocations: 494.8 kB / 0.7979 GB, free: 65.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.8371, allocations: 32 kB / 0.7979 GB, free: 65.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.8395, allocations: 323 kB / 0.7983 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.84, allocations: 149 kB / 0.7984 GB, free: 65.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8401, allocations: 51.97 kB / 0.7984 GB, free: 65.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009739/0.8411, allocations: 0.7938 MB / 0.7992 GB, free: 64.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8411, allocations: 0 / 0.7992 GB, free: 64.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002068/0.8432, allocations: 0.6562 MB / 0.7999 GB, free: 63.87 MB / 0.5762 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/0.8435, allocations: 143.7 kB / 0.8 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.8541, allocations: 5.15 MB / 0.805 GB, free: 58.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8542, allocations: 0 / 0.805 GB, free: 58.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/0.8607, allocations: 3.356 MB / 0.8083 GB, free: 55.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.8633, allocations: 0.5539 MB / 0.8088 GB, free: 54.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008539/0.8719, allocations: 4.299 MB / 0.813 GB, free: 50.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.873, allocations: 1.572 MB / 0.8146 GB, free: 48.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001336/0.8744, allocations: 387.8 kB / 0.8149 GB, free: 48.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.8748, allocations: 103.4 kB / 0.815 GB, free: 48.12 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.8748, allocations: 0 / 0.815 GB, free: 48.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.0545/0.9293, allocations: 45.36 MB / 0.8593 GB, free: 3.25 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)