Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 106.8 kB / 16.41 MB, free: 6.473 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.00117/0.00117, allocations: 189.2 kB / 17.34 MB, free: 5.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.337/1.337, 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.7473/0.7473, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.2 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 76.19 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03526/0.1795, allocations: 33.31 MB / 0.6646 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.2021, allocations: 14.82 MB / 0.6791 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.2055, allocations: 159.2 kB / 0.6792 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009142/0.2147, allocations: 3.671 MB / 0.6828 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008232/0.2229, allocations: 2.984 MB / 0.6857 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.2288, allocations: 2.328 MB / 0.688 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.2416, allocations: 8.838 MB / 0.6966 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.254, allocations: 9.577 MB / 0.706 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.2611, allocations: 4.016 MB / 0.7099 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006207/0.2673, allocations: 4.034 MB / 0.7139 GB, free: 308 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.2687, allocations: 0.7188 MB / 0.7146 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.2722, allocations: 1.72 MB / 0.7162 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.2748, allocations: 2.822 MB / 0.719 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004115/0.2789, allocations: 3.396 MB / 0.7223 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.2895, allocations: 11.19 MB / 0.7332 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2895, allocations: 0 / 0.7332 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2895, allocations: 0 / 0.7332 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002073/0.2897, allocations: 4 kB / 0.7332 GB, free: 12.4 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0122/0.3019, allocations: 5.979 MB / 0.7391 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.302, allocations: 8.031 kB / 0.7391 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.3085, allocations: 1.138 MB / 0.7402 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.3149, allocations: 3.52 MB / 0.7436 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.3151, allocations: 378.3 kB / 0.744 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008904/0.316, allocations: 0.4922 MB / 0.7445 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3475/0.6635, allocations: 7.996 MB / 0.7523 GB, free: 50.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/0.6637, allocations: 25.03 kB / 0.7523 GB, free: 50.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006186/0.6643, allocations: 215.9 kB / 0.7525 GB, free: 50.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.6655, allocations: 440.8 kB / 0.7529 GB, free: 50.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.6794, allocations: 6.089 MB / 0.7589 GB, free: 50.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04027/0.7197, allocations: 34.88 MB / 0.7929 GB, free: 27.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.7226, allocations: 2.027 MB / 0.7949 GB, free: 26.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.7251, allocations: 1.877 MB / 0.7968 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.7253, allocations: 18.59 kB / 0.7968 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.7254, allocations: 64.41 kB / 0.7968 GB, free: 25.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 4.167e-06/0.7254, allocations: 0 / 0.7968 GB, free: 25.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1443/0.8696, allocations: 38.89 MB / 0.8348 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.8697, allocations: 81.58 kB / 0.8349 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.874, allocations: 2.28 MB / 0.8371 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003733/0.8744, allocations: 74.95 kB / 0.8372 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.8763, allocations: 2.275 MB / 0.8394 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.8773, allocations: 0.9357 MB / 0.8403 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.8786, allocations: 0.5061 MB / 0.8408 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8787, allocations: 305.1 kB / 0.8411 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.8818, allocations: 1.977 MB / 0.843 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.8856, allocations: 2.605 MB / 0.8456 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/0.8926, allocations: 4.928 MB / 0.8504 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.8927, allocations: 12 kB / 0.8504 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01528/0.9079, allocations: 7.752 MB / 0.858 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.908, allocations: 12 kB / 0.858 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.9081, allocations: 16 kB / 0.858 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009742/0.9178, allocations: 3.22 MB / 0.8611 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.9196, allocations: 399.1 kB / 0.8615 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04866/0.9682, allocations: 33.87 MB / 0.8946 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/0.9715, allocations: 163.8 kB / 0.8948 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/0.972, allocations: 110.1 kB / 0.8949 GB, free: 9.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003281/0.9753, allocations: 1.794 MB / 0.8966 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008497/0.9762, allocations: 332.1 kB / 0.8969 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.9911, allocations: 7.353 MB / 0.9041 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.9911, allocations: 28 kB / 0.9041 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.856e-05/0.9912, allocations: 35.98 kB / 0.9042 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/0.9913, allocations: 15.33 kB / 0.9042 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/1.016, allocations: 12.92 MB / 0.9168 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.016, allocations: 8 kB / 0.9168 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.017, allocations: 234.3 kB / 0.917 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008727/1.026, allocations: 2.849 MB / 0.9198 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.026, allocations: 60 kB / 0.9199 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04556/1.072, allocations: 32.67 MB / 0.9518 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.072, allocations: 11.38 kB / 0.9518 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.084, allocations: 6.876 MB / 0.9585 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.086, allocations: 0.7821 MB / 0.9593 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008598/1.087, allocations: 61.89 kB / 0.9593 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.09, allocations: 167.8 kB / 0.9595 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009711/1.09, allocations: 255.5 kB / 0.9597 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.091, allocations: 76 kB / 0.9598 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002796/1.094, allocations: 1.536 MB / 0.9613 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.61e-07/1.094, allocations: 0 / 0.9613 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004155/1.098, allocations: 1.367 MB / 0.9626 GB, free: 2.781 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003834/1.098, allocations: 169.2 kB / 0.9628 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.111, allocations: 6.926 MB / 0.9696 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.111, allocations: 0 / 0.9696 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008006/1.119, allocations: 4.421 MB / 0.9739 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005737/1.125, allocations: 1.108 MB / 0.975 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.143, allocations: 10.08 MB / 0.9848 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005225/1.149, allocations: 3.639 MB / 0.9884 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002365/1.151, allocations: 0.5595 MB / 0.9889 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/1.152, allocations: 159.4 kB / 0.9891 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.152, allocations: 0 / 0.9891 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of Templates: time 0.4361/1.588, allocations: 76.09 MB / 1.063 GB, free: 291.3 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)