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.001482/0.001482, allocations: 109.4 kB / 17.03 MB, free: 5.703 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.001688/0.001688, allocations: 194.9 kB / 17.97 MB, free: 5.078 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 / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7092/0.7092, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01487/0.3763, allocations: 14.75 MB / 0.572 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.3903, allocations: 10.34 MB / 0.5821 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.3923, allocations: 58.38 kB / 0.5821 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.3966, allocations: 1.698 MB / 0.5838 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.402, allocations: 1.806 MB / 0.5856 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.4041, allocations: 0.7583 MB / 0.5863 GB, free: 17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003897/0.408, allocations: 2.751 MB / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.4099, allocations: 1.42 MB / 0.5904 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.4124, allocations: 1.501 MB / 0.5918 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.4141, allocations: 1.163 MB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.4144, allocations: 164.9 kB / 0.5931 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.4159, allocations: 0.7824 MB / 0.5939 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.4164, allocations: 0.6066 MB / 0.5945 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.4174, allocations: 0.9524 MB / 0.5954 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.4202, allocations: 2.768 MB / 0.5981 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4202, allocations: 7.938 kB / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4203, allocations: 0 / 0.5981 GB, free: 10.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.4203, allocations: 1.219 kB / 0.5981 GB, free: 10.47 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.003986/0.4243, allocations: 2.168 MB / 0.6003 GB, free: 8.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4243, allocations: 8.031 kB / 0.6003 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.4348, allocations: 2.112 MB / 0.6023 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.4376, allocations: 1.307 MB / 0.6036 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.4376, allocations: 82.69 kB / 0.6037 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.4379, allocations: 120.1 kB / 0.6038 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004826/0.4428, allocations: 2.68 MB / 0.6064 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.4428, allocations: 7.906 kB / 0.6064 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.443, allocations: 51.98 kB / 0.6065 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005369/0.4435, allocations: 194.1 kB / 0.6067 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006665/0.4502, allocations: 2.795 MB / 0.6094 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.4654, allocations: 10.46 MB / 0.6196 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006128/0.4716, allocations: 2.342 MB / 0.6219 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.4745, allocations: 1.272 MB / 0.6231 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.799e-05/0.4746, allocations: 17 kB / 0.6231 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.4746, allocations: 39.56 kB / 0.6232 GB, free: 404 kB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.4746, allocations: 0 / 0.6232 GB, free: 404 kB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05528/0.5299, allocations: 16.5 MB / 0.6393 GB, free: 15.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.53, allocations: 64.72 kB / 0.6394 GB, free: 15.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.5315, allocations: 1.176 MB / 0.6405 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.5317, allocations: 49.7 kB / 0.6405 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.5322, allocations: 0.7398 MB / 0.6413 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.5326, allocations: 0.5198 MB / 0.6418 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.5332, allocations: 287.5 kB / 0.6421 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.5333, allocations: 305.1 kB / 0.6423 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.5366, allocations: 1.514 MB / 0.6438 GB, free: 11.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/0.5401, allocations: 1.776 MB / 0.6456 GB, free: 9.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006847/0.547, allocations: 3.365 MB / 0.6488 GB, free: 5.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.547, allocations: 4 kB / 0.6488 GB, free: 5.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01273/0.5598, allocations: 5.276 MB / 0.654 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.5598, allocations: 11.94 kB / 0.654 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5598, allocations: 8.844 kB / 0.654 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006548/0.5664, allocations: 1.875 MB / 0.6559 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5683, allocations: 419.2 kB / 0.6563 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02871/0.597, allocations: 24.14 MB / 0.6798 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.6, allocations: 303.5 kB / 0.6801 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.6003, allocations: 64.03 kB / 0.6802 GB, free: 4.445 MB / 0.5137 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.0009459/0.6012, allocations: 469.4 kB / 0.6806 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.6016, allocations: 173.9 kB / 0.6808 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.6145, allocations: 5.316 MB / 0.686 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.6146, allocations: 19.92 kB / 0.686 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.011e-05/0.6147, allocations: 20 kB / 0.686 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.6147, allocations: 7.984 kB / 0.686 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.6313, allocations: 7.415 MB / 0.6933 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.6314, allocations: 4 kB / 0.6933 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.633, allocations: 359.2 kB / 0.6936 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005826/0.6388, allocations: 1.702 MB / 0.6953 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.6391, allocations: 43.97 kB / 0.6953 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.6661, allocations: 23.31 MB / 0.7181 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6662, allocations: 4.031 kB / 0.7181 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.6781, allocations: 4.891 MB / 0.7229 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.6794, allocations: 494.7 kB / 0.7233 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.6797, allocations: 32 kB / 0.7234 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/0.6818, allocations: 315.5 kB / 0.7237 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/0.6824, allocations: 153 kB / 0.7238 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.6825, allocations: 51.97 kB / 0.7239 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001091/0.6836, allocations: 0.7899 MB / 0.7246 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6836, allocations: 0 / 0.7246 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002192/0.6858, allocations: 0.6562 MB / 0.7253 GB, free: 4.84 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 (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.0003152/0.6862, allocations: 147.1 kB / 0.7254 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0112/0.6974, allocations: 5.151 MB / 0.7304 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.6974, allocations: 8.125 kB / 0.7304 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007153/0.7046, allocations: 3.343 MB / 0.7337 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.7073, allocations: 0.5652 MB / 0.7343 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.7161, allocations: 4.289 MB / 0.7385 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.7174, allocations: 1.564 MB / 0.74 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001428/0.7189, allocations: 386.4 kB / 0.7404 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.7193, allocations: 103.4 kB / 0.7404 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7193, allocations: 0 / 0.7404 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of Templates: time 0.3014/1.021, allocations: 44.86 MB / 0.7843 GB, free: 146.7 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)