Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.001166/0.001166, allocations: 195 kB / 17.98 MB, free: 5.148 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.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7499/0.7499, allocations: 115.1 MB / 406.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 68.14 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3519, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03576/0.3877, allocations: 37.93 MB / 0.5946 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.4048, allocations: 11 MB / 0.6054 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003869/0.4087, allocations: 157.1 kB / 0.6055 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.4189, allocations: 4.358 MB / 0.6098 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006587/0.4255, allocations: 2.217 MB / 0.6119 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.4315, allocations: 2.17 MB / 0.6141 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.4434, allocations: 9.287 MB / 0.6231 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.4588, allocations: 11.28 MB / 0.6341 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.4648, allocations: 3.992 MB / 0.638 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007186/0.472, allocations: 4.506 MB / 0.6424 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002322/0.4744, allocations: 0.8281 MB / 0.6432 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.4789, allocations: 1.588 MB / 0.6448 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004417/0.4834, allocations: 3.15 MB / 0.6479 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006793/0.4902, allocations: 3.653 MB / 0.6514 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.5034, allocations: 12.31 MB / 0.6635 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.5035, allocations: 0 / 0.6635 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5035, allocations: 0 / 0.6635 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003051/0.5038, allocations: 0 / 0.6635 GB, free: 7.875 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01406/0.5179, allocations: 6.315 MB / 0.6696 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5179, allocations: 16.03 kB / 0.6696 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.5231, allocations: 1.063 MB / 0.6707 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008262/0.5314, allocations: 3.614 MB / 0.6742 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.5318, allocations: 431.7 kB / 0.6746 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.5333, allocations: 0.5394 MB / 0.6752 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.5517, allocations: 9.374 MB / 0.6843 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.5519, allocations: 19.78 kB / 0.6843 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000733/0.5527, allocations: 255.8 kB / 0.6846 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005413/0.5532, allocations: 418.9 kB / 0.685 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.5665, allocations: 7.124 MB / 0.6919 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04168/0.6082, allocations: 41 MB / 0.732 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.613, allocations: 3.104 MB / 0.735 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.6159, allocations: 2.133 MB / 0.7371 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.6161, allocations: 22 kB / 0.7371 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.6162, allocations: 68.36 kB / 0.7372 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 5.18e-06/0.6162, allocations: 0 / 0.7372 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.2897/0.9059, allocations: 10.55 MB / 0.7475 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.906, allocations: 80.11 kB / 0.7475 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.9091, allocations: 2.005 MB / 0.7495 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.9095, allocations: 63.73 kB / 0.7496 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.911, allocations: 2.403 MB / 0.7519 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/0.9118, allocations: 0.7314 MB / 0.7526 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/0.9125, allocations: 481.7 kB / 0.7531 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.9126, allocations: 302.2 kB / 0.7534 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.9146, allocations: 1.374 MB / 0.7547 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.917, allocations: 2.11 MB / 0.7568 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/0.9216, allocations: 3.763 MB / 0.7604 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.9217, allocations: 9.812 kB / 0.7605 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008318/0.93, allocations: 5.072 MB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.9301, allocations: 15.59 kB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/0.9301, allocations: 21.47 kB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.9339, allocations: 1.586 MB / 0.767 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.9357, allocations: 455.5 kB / 0.7674 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.9568, allocations: 18.57 MB / 0.7856 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.9591, allocations: 153.3 kB / 0.7857 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.9593, allocations: 102.8 kB / 0.7858 GB, free: 135.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002645/0.962, allocations: 1.944 MB / 0.7877 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.9625, allocations: 284.5 kB / 0.788 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/0.9685, allocations: 4.455 MB / 0.7923 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.9685, allocations: 19.06 kB / 0.7924 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.9686, allocations: 26.53 kB / 0.7924 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.9686, allocations: 6.984 kB / 0.7924 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.9815, allocations: 9.672 MB / 0.8018 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.9816, allocations: 6.062 kB / 0.8018 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009169/0.9825, allocations: 227.6 kB / 0.8021 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.9853, allocations: 1.43 MB / 0.8034 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.9855, allocations: 40 kB / 0.8035 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/1.003, allocations: 18.56 MB / 0.8216 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.003, allocations: 7.938 kB / 0.8216 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006564/1.009, allocations: 4.537 MB / 0.8261 GB, free: 99.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.011, allocations: 0.6342 MB / 0.8267 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/1.012, allocations: 48 kB / 0.8267 GB, free: 98.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.013, allocations: 111.9 kB / 0.8268 GB, free: 98.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.013, allocations: 185.4 kB / 0.827 GB, free: 98.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.013, allocations: 52 kB / 0.8271 GB, free: 98.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001451/1.015, allocations: 1.327 MB / 0.8283 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/1.015, allocations: 0 / 0.8283 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003089/1.018, allocations: 1.141 MB / 0.8295 GB, free: 95.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/1.018, allocations: 162.4 kB / 0.8296 GB, free: 95.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006108/1.024, allocations: 4.711 MB / 0.8342 GB, free: 90.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.024, allocations: 8 kB / 0.8342 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.028, allocations: 2.924 MB / 0.8371 GB, free: 87.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.032, allocations: 0.8807 MB / 0.8379 GB, free: 87.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.046, allocations: 9.265 MB / 0.847 GB, free: 77.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/1.05, allocations: 3.694 MB / 0.8506 GB, free: 74.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001778/1.052, allocations: 0.5518 MB / 0.8511 GB, free: 73.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/1.052, allocations: 151.4 kB / 0.8513 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/1.052, allocations: 4 kB / 0.8513 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.07077/1.123, allocations: 50.77 MB / 0.9009 GB, free: 23.38 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)