Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 109.1 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.00121/0.00121, 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7672/0.7672, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.36 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03403/0.1982, allocations: 30.75 MB / 0.6621 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.2229, allocations: 13.6 MB / 0.6754 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004825/0.2278, allocations: 143.2 kB / 0.6755 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009763/0.2377, allocations: 3.202 MB / 0.6787 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009707/0.2474, allocations: 2.76 MB / 0.6814 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.2534, allocations: 2.009 MB / 0.6833 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.2641, allocations: 7.644 MB / 0.6908 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.2772, allocations: 8.229 MB / 0.6988 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009723/0.287, allocations: 3.467 MB / 0.7022 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007845/0.2949, allocations: 3.379 MB / 0.7055 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002792/0.2977, allocations: 0.5938 MB / 0.7061 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.3031, allocations: 1.494 MB / 0.7075 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.3074, allocations: 2.366 MB / 0.7099 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007266/0.3147, allocations: 2.886 MB / 0.7127 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.3304, allocations: 9.461 MB / 0.7219 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.3305, allocations: 0 / 0.7219 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3305, allocations: 0 / 0.7219 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003896/0.3309, allocations: 0 / 0.7219 GB, free: 8.078 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0193/0.3502, allocations: 5.14 MB / 0.7269 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.3503, allocations: 16.02 kB / 0.7269 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008161/0.3585, allocations: 0.9941 MB / 0.7279 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009472/0.368, allocations: 3.075 MB / 0.7309 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.3684, allocations: 316.8 kB / 0.7312 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.3706, allocations: 416.1 kB / 0.7316 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.3895, allocations: 6.792 MB / 0.7382 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002318/0.3898, allocations: 27.7 kB / 0.7383 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/0.3912, allocations: 184 kB / 0.7385 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.3923, allocations: 372 kB / 0.7388 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.4043, allocations: 5.114 MB / 0.7438 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4026/0.8069, allocations: 30.51 MB / 0.7736 GB, free: 74.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.8095, allocations: 1.386 MB / 0.7749 GB, free: 74.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.8115, allocations: 1.329 MB / 0.7762 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.8116, allocations: 13.78 kB / 0.7763 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.8116, allocations: 59.45 kB / 0.7763 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.517e-06/0.8116, allocations: 0 / 0.7763 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08428/0.8959, allocations: 23.08 MB / 0.7988 GB, free: 60.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.896, allocations: 73.41 kB / 0.7989 GB, free: 59.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.8987, allocations: 2.062 MB / 0.8009 GB, free: 57.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004017/0.8991, allocations: 65.7 kB / 0.801 GB, free: 57.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/0.9001, allocations: 2.009 MB / 0.803 GB, free: 55.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.9007, allocations: 0.6806 MB / 0.8036 GB, free: 55.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/0.9013, allocations: 412.1 kB / 0.804 GB, free: 54.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.9013, allocations: 301.1 kB / 0.8043 GB, free: 54.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.9029, allocations: 1.43 MB / 0.8057 GB, free: 53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.9047, allocations: 2.017 MB / 0.8077 GB, free: 50.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.9083, allocations: 3.696 MB / 0.8113 GB, free: 46.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.9083, allocations: 8 kB / 0.8113 GB, free: 46.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009257/0.9176, allocations: 5.653 MB / 0.8168 GB, free: 41.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.9177, allocations: 17.5 kB / 0.8168 GB, free: 41.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.9177, allocations: 20 kB / 0.8168 GB, free: 41.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006066/0.9238, allocations: 2.088 MB / 0.8189 GB, free: 38.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.9254, allocations: 375.4 kB / 0.8192 GB, free: 38.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03117/0.9566, allocations: 38.42 MB / 0.8568 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.9593, allocations: 131.9 kB / 0.8569 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/0.9597, allocations: 92 kB / 0.857 GB, free: 13.43 MB / 0.5919 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002696/0.9624, allocations: 1.519 MB / 0.8585 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/0.9631, allocations: 284.6 kB / 0.8587 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.9738, allocations: 5.215 MB / 0.8638 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.9738, allocations: 16 kB / 0.8638 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.403e-05/0.9739, allocations: 20 kB / 0.8639 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.9739, allocations: 7.969 kB / 0.8639 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.9929, allocations: 9.677 MB / 0.8733 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.9929, allocations: 8.219 kB / 0.8733 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.9939, allocations: 211.7 kB / 0.8735 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/1, allocations: 1.849 MB / 0.8753 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/1, allocations: 44 kB / 0.8754 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03909/1.039, allocations: 37.44 MB / 0.9119 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.04, allocations: 9.5 kB / 0.9119 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.05, allocations: 4.923 MB / 0.9167 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002661/1.053, allocations: 0.6109 MB / 0.9173 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.054, allocations: 39.98 kB / 0.9174 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/1.056, allocations: 131.8 kB / 0.9175 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000855/1.057, allocations: 189.5 kB / 0.9177 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.058, allocations: 56 kB / 0.9177 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003517/1.061, allocations: 1.382 MB / 0.9191 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/1.061, allocations: 0 / 0.9191 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005123/1.066, allocations: 1.051 MB / 0.9201 GB, free: 9.801 MB / 0.6544 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005285/1.067, allocations: 162.9 kB / 0.9203 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.078, allocations: 6.299 MB / 0.9264 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.078, allocations: 4 kB / 0.9264 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007286/1.085, allocations: 4.402 MB / 0.9307 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/1.091, allocations: 0.9826 MB / 0.9317 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.111, allocations: 8.045 MB / 0.9395 GB, free: 5.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005817/1.117, allocations: 3.123 MB / 0.9426 GB, free: 2.301 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002445/1.119, allocations: 0.5238 MB / 0.9431 GB, free: 1.773 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/1.12, allocations: 147.4 kB / 0.9432 GB, free: 1.629 MB / 0.67 GB Notification: Performance of SimCode: time 1.502e-06/1.12, allocations: 4 kB / 0.9432 GB, free: 1.625 MB / 0.67 GB Notification: Performance of Templates: time 0.1039/1.224, allocations: 58.46 MB / 1 GB, free: 8.023 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)