Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 106.9 kB / 16.4 MB, free: 6.492 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.001044/0.001044, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.33/1.33, 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.7585/0.7585, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.66 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1899, allocations: 77.94 MB / 0.6446 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03841/0.2283, allocations: 35.1 MB / 0.6789 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.248, allocations: 9.94 MB / 0.6886 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.2522, allocations: 147.2 kB / 0.6887 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009998/0.2623, allocations: 3.808 MB / 0.6924 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007304/0.2696, allocations: 2.04 MB / 0.6944 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.276, allocations: 1.955 MB / 0.6963 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.287, allocations: 7.986 MB / 0.7041 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.3012, allocations: 9.51 MB / 0.7134 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006399/0.3077, allocations: 3.373 MB / 0.7167 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.3141, allocations: 3.742 MB / 0.7204 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.3164, allocations: 0.6797 MB / 0.721 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.3211, allocations: 1.44 MB / 0.7224 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004184/0.3253, allocations: 2.624 MB / 0.725 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006489/0.3318, allocations: 3.101 MB / 0.728 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01561/0.3474, allocations: 10.41 MB / 0.7382 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3475, allocations: 0 / 0.7382 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3475, allocations: 3.938 kB / 0.7382 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004306/0.3479, allocations: 4 kB / 0.7382 GB, free: 8.785 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0141/0.362, allocations: 5.534 MB / 0.7436 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3621, allocations: 8.625 kB / 0.7436 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.3668, allocations: 0.9889 MB / 0.7446 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3943/0.7612, allocations: 3.195 MB / 0.7477 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.7616, allocations: 359.4 kB / 0.748 GB, free: 88.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.7632, allocations: 465.7 kB / 0.7485 GB, free: 88.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.7844, allocations: 7.903 MB / 0.7562 GB, free: 85.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.7845, allocations: 24.48 kB / 0.7562 GB, free: 85.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005604/0.7851, allocations: 209.5 kB / 0.7564 GB, free: 85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006321/0.7858, allocations: 369.2 kB / 0.7568 GB, free: 84.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.7999, allocations: 5.935 MB / 0.7626 GB, free: 82.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03476/0.8347, allocations: 36.01 MB / 0.7977 GB, free: 50.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.8375, allocations: 2.146 MB / 0.7998 GB, free: 49.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.8391, allocations: 1.474 MB / 0.8013 GB, free: 48.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.836e-05/0.8392, allocations: 16.38 kB / 0.8013 GB, free: 48.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.8392, allocations: 63.23 kB / 0.8013 GB, free: 48.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.367e-06/0.8392, allocations: 0 / 0.8013 GB, free: 48.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01182/0.8511, allocations: 7.598 MB / 0.8088 GB, free: 41.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.8512, allocations: 64.72 kB / 0.8088 GB, free: 41.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.8535, allocations: 1.873 MB / 0.8107 GB, free: 39.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.8537, allocations: 57.64 kB / 0.8107 GB, free: 39.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.8548, allocations: 2.18 MB / 0.8128 GB, free: 37.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.8552, allocations: 0.5916 MB / 0.8134 GB, free: 37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.8558, allocations: 404 kB / 0.8138 GB, free: 36.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.8558, allocations: 309.1 kB / 0.8141 GB, free: 36.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.857, allocations: 1.058 MB / 0.8151 GB, free: 35.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.8585, allocations: 1.764 MB / 0.8169 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.8613, allocations: 3.045 MB / 0.8198 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.8613, allocations: 8 kB / 0.8198 GB, free: 29.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005117/0.8664, allocations: 3.93 MB / 0.8237 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.8664, allocations: 16 kB / 0.8237 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.8665, allocations: 20 kB / 0.8237 GB, free: 25.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/0.8685, allocations: 0.9331 MB / 0.8246 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.8699, allocations: 435.2 kB / 0.825 GB, free: 24.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.8848, allocations: 22.77 MB / 0.8473 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.8872, allocations: 123.9 kB / 0.8474 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.8874, allocations: 92 kB / 0.8475 GB, free: 15.73 MB / 0.5919 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.002715/0.8901, allocations: 1.655 MB / 0.8491 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.8907, allocations: 266.3 kB / 0.8494 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/0.8961, allocations: 3.267 MB / 0.8525 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.8962, allocations: 16 kB / 0.8526 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.8962, allocations: 12 kB / 0.8526 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.8962, allocations: 11.91 kB / 0.8526 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.9089, allocations: 7.548 MB / 0.86 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.9089, allocations: 8.062 kB / 0.86 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/0.9098, allocations: 219.6 kB / 0.8602 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.9122, allocations: 0.8919 MB / 0.861 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.9124, allocations: 38.89 kB / 0.8611 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.933, allocations: 22.73 MB / 0.8833 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.933, allocations: 7.938 kB / 0.8833 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.9388, allocations: 3.396 MB / 0.8866 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/0.9402, allocations: 0.5422 MB / 0.8871 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.9405, allocations: 31.94 kB / 0.8872 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9416, allocations: 95.89 kB / 0.8873 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.942, allocations: 144.9 kB / 0.8874 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.9421, allocations: 44 kB / 0.8874 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001796/0.9439, allocations: 1.225 MB / 0.8886 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9439, allocations: 0 / 0.8886 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003128/0.947, allocations: 0.9062 MB / 0.8895 GB, free: 2.684 MB / 0.6231 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003083/0.9474, allocations: 165 kB / 0.8897 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00632/0.9537, allocations: 4.44 MB / 0.894 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9537, allocations: 0 / 0.894 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.9576, allocations: 2.992 MB / 0.8969 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.9611, allocations: 0.8289 MB / 0.8977 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.9744, allocations: 7.712 MB / 0.9053 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/0.9777, allocations: 3.205 MB / 0.9084 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002071/0.9798, allocations: 0.5254 MB / 0.9089 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.9802, allocations: 143.4 kB / 0.9091 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of SimCode: time 1.833e-06/0.9802, allocations: 0 / 0.9091 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.07309/1.053, allocations: 41.61 MB / 0.9497 GB, free: 5.32 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)