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.001606/0.001606, allocations: 112.5 kB / 17.08 MB, free: 5.785 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.001866/0.001866, allocations: 200.2 kB / 18.02 MB, free: 4.918 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.466/1.466, allocations: 222.9 MB / 241.7 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.7365/0.7365, allocations: 115.3 MB / 407.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1769, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01906/0.196, allocations: 14.76 MB / 0.6472 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.2124, allocations: 10.34 MB / 0.6573 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.2142, allocations: 59.62 kB / 0.6573 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.2191, allocations: 1.689 MB / 0.659 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.2251, allocations: 1.815 MB / 0.6607 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.2275, allocations: 0.7623 MB / 0.6615 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004389/0.2319, allocations: 2.744 MB / 0.6642 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.2343, allocations: 1.427 MB / 0.6655 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.237, allocations: 1.535 MB / 0.667 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.2395, allocations: 1.16 MB / 0.6682 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006048/0.2401, allocations: 160 kB / 0.6683 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.2423, allocations: 0.7877 MB / 0.6691 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/0.2432, allocations: 0.6076 MB / 0.6697 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.2451, allocations: 0.9561 MB / 0.6706 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.2498, allocations: 2.765 MB / 0.6733 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2498, allocations: 0 / 0.6733 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2498, allocations: 0 / 0.6733 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001048/0.2499, allocations: 0 / 0.6733 GB, free: 10.65 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.005663/0.2556, allocations: 2.166 MB / 0.6754 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2557, allocations: 8.031 kB / 0.6755 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.2681, allocations: 2.116 MB / 0.6775 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.2715, allocations: 1.299 MB / 0.6788 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2716, allocations: 90.69 kB / 0.6789 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.2722, allocations: 120 kB / 0.679 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006995/0.2792, allocations: 2.67 MB / 0.6816 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/0.2793, allocations: 7.938 kB / 0.6816 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.2796, allocations: 51.98 kB / 0.6817 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007275/0.2803, allocations: 190.1 kB / 0.6818 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008351/0.2887, allocations: 2.799 MB / 0.6846 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.3057, allocations: 10.46 MB / 0.6948 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006845/0.3125, allocations: 2.344 MB / 0.6971 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.3158, allocations: 1.276 MB / 0.6983 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.677e-05/0.3159, allocations: 12.98 kB / 0.6983 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.316, allocations: 51.48 kB / 0.6984 GB, free: 88 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 3.356e-06/0.316, allocations: 4 kB / 0.6984 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=153): time 0.06097/0.377, allocations: 16.48 MB / 0.7145 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3771, allocations: 68.72 kB / 0.7145 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.3789, allocations: 1.176 MB / 0.7157 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.3792, allocations: 53.7 kB / 0.7157 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.3798, allocations: 0.7398 MB / 0.7165 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/0.3804, allocations: 0.5237 MB / 0.717 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.3811, allocations: 287.4 kB / 0.7173 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.3812, allocations: 305.1 kB / 0.7175 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.3847, allocations: 1.51 MB / 0.719 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.3885, allocations: 1.772 MB / 0.7207 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/0.3958, allocations: 3.373 MB / 0.724 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.3959, allocations: 4 kB / 0.724 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01438/0.4103, allocations: 5.269 MB / 0.7292 GB, free: 88 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.4104, allocations: 8 kB / 0.7292 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.4104, allocations: 12.09 kB / 0.7292 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/0.4175, allocations: 1.881 MB / 0.731 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.4196, allocations: 419.3 kB / 0.7314 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3589/0.7786, allocations: 24.13 MB / 0.755 GB, free: 95.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/0.7816, allocations: 307.8 kB / 0.7553 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.7819, allocations: 66.73 kB / 0.7554 GB, free: 95.62 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.0009458/0.7829, allocations: 465.9 kB / 0.7558 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.7832, allocations: 180.2 kB / 0.756 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.7977, allocations: 5.32 MB / 0.7612 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.7978, allocations: 18.25 kB / 0.7612 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.126e-05/0.7979, allocations: 23.59 kB / 0.7612 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.7979, allocations: 7.734 kB / 0.7612 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.8141, allocations: 7.412 MB / 0.7685 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.8142, allocations: 4.062 kB / 0.7685 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.8159, allocations: 351.6 kB / 0.7688 GB, free: 91.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.8216, allocations: 1.709 MB / 0.7705 GB, free: 90.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/0.8219, allocations: 46.55 kB / 0.7705 GB, free: 90.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.8442, allocations: 23.31 MB / 0.7933 GB, free: 71.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.8443, allocations: 4.844 kB / 0.7933 GB, free: 71.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.856, allocations: 4.898 MB / 0.7981 GB, free: 66.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.8572, allocations: 490.8 kB / 0.7985 GB, free: 66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005651/0.8578, allocations: 31.98 kB / 0.7986 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/0.8602, allocations: 315.5 kB / 0.7989 GB, free: 65.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005973/0.8608, allocations: 153 kB / 0.799 GB, free: 65.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.861, allocations: 55.97 kB / 0.7991 GB, free: 65.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001114/0.8621, allocations: 0.7899 MB / 0.7998 GB, free: 64.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8621, allocations: 0 / 0.7998 GB, free: 64.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002582/0.8647, allocations: 0.6562 MB / 0.8005 GB, free: 64.01 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.0003704/0.8651, allocations: 138.7 kB / 0.8006 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01023/0.8754, allocations: 5.149 MB / 0.8056 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.8754, allocations: 4.125 kB / 0.8056 GB, free: 58.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006342/0.8817, allocations: 3.352 MB / 0.8089 GB, free: 55.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.8847, allocations: 0.5605 MB / 0.8095 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/0.8931, allocations: 4.422 MB / 0.8138 GB, free: 50.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.8944, allocations: 1.572 MB / 0.8153 GB, free: 48.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.895, allocations: 127.3 kB / 0.8154 GB, free: 48.48 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.895, allocations: 0 / 0.8154 GB, free: 48.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.07439/0.9694, allocations: 85.83 MB / 0.8993 GB, free: 10.75 MB / 0.6231 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)