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.0008526/0.0008529, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009461/0.0009463, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.422/1.422, allocations: 223.2 MB / 240.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6841/0.6841, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 8.5 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02084/0.2148, allocations: 14.11 MB / 0.5737 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2338, allocations: 10.23 MB / 0.5837 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.2362, allocations: 51.62 kB / 0.5838 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.2378, allocations: 298 kB / 0.5841 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3274/0.5652, allocations: 1.592 MB / 0.5856 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.5674, allocations: 0.6851 MB / 0.5863 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005678/0.5731, allocations: 3.402 MB / 0.5896 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004202/0.5773, allocations: 1.99 MB / 0.5916 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.5813, allocations: 1.328 MB / 0.5929 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.5847, allocations: 1.084 MB / 0.5939 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005297/0.5852, allocations: 70.09 kB / 0.594 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.5885, allocations: 0.8517 MB / 0.5948 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.5897, allocations: 0.506 MB / 0.5953 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003507/0.5932, allocations: 0.8631 MB / 0.5962 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00733/0.6006, allocations: 2.673 MB / 0.5988 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6006, allocations: 0 / 0.5988 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6006, allocations: 0.8438 kB / 0.5988 GB, free: 12.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.6008, allocations: 0 / 0.5988 GB, free: 12.43 MB / 446.1 MB 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.006222/0.607, allocations: 1.843 MB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6071, allocations: 9.969 kB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.62, allocations: 2.169 MB / 0.6027 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.6235, allocations: 1.213 MB / 0.6039 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.6236, allocations: 87.84 kB / 0.604 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/0.6243, allocations: 122.8 kB / 0.6041 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.6311, allocations: 2.698 MB / 0.6067 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.6311, allocations: 10.53 kB / 0.6067 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.6313, allocations: 56.25 kB / 0.6068 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006511/0.632, allocations: 190.2 kB / 0.607 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007539/0.6395, allocations: 2.842 MB / 0.6097 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.6537, allocations: 10.56 MB / 0.62 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/0.6605, allocations: 2.391 MB / 0.6224 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.6638, allocations: 1.296 MB / 0.6236 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.934e-05/0.6639, allocations: 8.844 kB / 0.6237 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.664, allocations: 47.98 kB / 0.6237 GB, free: 13.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.766e-06/0.664, allocations: 3.062 kB / 0.6237 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.06321/0.7272, allocations: 16.54 MB / 0.6399 GB, free: 14.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.7273, allocations: 68.72 kB / 0.6399 GB, free: 14.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7291, allocations: 1.168 MB / 0.6411 GB, free: 13.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.7294, allocations: 53.7 kB / 0.6411 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.7299, allocations: 0.7467 MB / 0.6418 GB, free: 12.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006073/0.7306, allocations: 0.5162 MB / 0.6423 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.7308, allocations: 125.6 kB / 0.6425 GB, free: 11.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7309, allocations: 305.1 kB / 0.6428 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/0.7348, allocations: 1.526 MB / 0.6442 GB, free: 9.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.7388, allocations: 1.801 MB / 0.646 GB, free: 7.871 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00801/0.7468, allocations: 3.41 MB / 0.6493 GB, free: 4.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7468, allocations: 0 / 0.6493 GB, free: 4.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01425/0.7611, allocations: 5.323 MB / 0.6545 GB, free: 15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.7612, allocations: 8 kB / 0.6545 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.7612, allocations: 8 kB / 0.6546 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/0.7683, allocations: 1.882 MB / 0.6564 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.7705, allocations: 427.2 kB / 0.6568 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/0.8013, allocations: 22.2 MB / 0.6785 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.8046, allocations: 319.6 kB / 0.6788 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/0.805, allocations: 67.97 kB / 0.6788 GB, free: 5.051 MB / 0.4981 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.001361/0.8064, allocations: 465.4 kB / 0.6793 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.807, allocations: 177.9 kB / 0.6795 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/0.8216, allocations: 5.363 MB / 0.6847 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.8216, allocations: 12 kB / 0.6847 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-05/0.8217, allocations: 20 kB / 0.6847 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.8217, allocations: 7.969 kB / 0.6847 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.841, allocations: 7.47 MB / 0.692 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8411, allocations: 4 kB / 0.692 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/0.843, allocations: 355.4 kB / 0.6924 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006457/0.8495, allocations: 1.711 MB / 0.694 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.8498, allocations: 47.95 kB / 0.6941 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0277/0.8775, allocations: 21.38 MB / 0.715 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8775, allocations: 3.938 kB / 0.715 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.8908, allocations: 4.922 MB / 0.7198 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.8923, allocations: 0.4987 MB / 0.7203 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/0.8929, allocations: 31.94 kB / 0.7203 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/0.8956, allocations: 323.5 kB / 0.7206 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006074/0.8962, allocations: 153 kB / 0.7207 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.8964, allocations: 51.91 kB / 0.7208 GB, free: 8.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001285/0.8977, allocations: 0.7938 MB / 0.7216 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8977, allocations: 0 / 0.7216 GB, free: 7.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002697/0.9004, allocations: 0.6562 MB / 0.7222 GB, free: 7.309 MB / 0.545 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.000397/0.9008, allocations: 139.8 kB / 0.7223 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0127/0.9136, allocations: 5.166 MB / 0.7274 GB, free: 1.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.9136, allocations: 3.938 kB / 0.7274 GB, free: 1.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008647/0.9223, allocations: 3.374 MB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/0.9268, allocations: 0.5264 MB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.9374, allocations: 5.028 MB / 0.7361 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.939, allocations: 1.572 MB / 0.7377 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001809/0.9408, allocations: 386.4 kB / 0.738 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.9413, allocations: 103.4 kB / 0.7381 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.9413, allocations: 0 / 0.7381 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of Templates: time 0.07266/1.014, allocations: 42.4 MB / 0.7795 GB, free: 12.86 MB / 0.6075 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)