Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 120.5 kB / 17.09 MB, free: 5.98 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.001176/0.001176, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6869/0.6869, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.55 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1306, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01408/0.1447, allocations: 11.96 MB / 0.6444 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008776/0.1536, allocations: 5.708 MB / 0.65 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1546, allocations: 35.88 kB / 0.65 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.1575, allocations: 1.033 MB / 0.651 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.1592, allocations: 0.684 MB / 0.6517 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.1616, allocations: 0.977 MB / 0.6527 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002754/0.1643, allocations: 2.587 MB / 0.6552 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004301/0.1687, allocations: 3.787 MB / 0.6589 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1704, allocations: 1.204 MB / 0.6601 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.1724, allocations: 1.324 MB / 0.6614 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006269/0.1731, allocations: 252 kB / 0.6616 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1744, allocations: 0.5696 MB / 0.6622 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.1756, allocations: 0.9434 MB / 0.6631 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.1774, allocations: 1.058 MB / 0.6641 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.1814, allocations: 3.861 MB / 0.6679 GB, free: 300 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1814, allocations: 3.938 kB / 0.6679 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1814, allocations: 4 kB / 0.6679 GB, free: 292 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001103/0.1815, allocations: 0 / 0.6679 GB, free: 292 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005075/0.1866, allocations: 2.089 MB / 0.6699 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1867, allocations: 12.03 kB / 0.6699 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.1903, allocations: 0.7362 MB / 0.6707 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.1925, allocations: 1.22 MB / 0.6719 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1926, allocations: 115.6 kB / 0.672 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/0.1931, allocations: 168 kB / 0.6721 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005234/0.1983, allocations: 2.96 MB / 0.675 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.1984, allocations: 4 kB / 0.675 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.1987, allocations: 67.98 kB / 0.6751 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/0.199, allocations: 163.1 kB / 0.6752 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.2032, allocations: 2.522 MB / 0.6777 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.2154, allocations: 10.74 MB / 0.6882 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.217, allocations: 0.9548 MB / 0.6891 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.2177, allocations: 0.5049 MB / 0.6896 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.2179, allocations: 97.47 kB / 0.6897 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2179, allocations: 38.94 kB / 0.6897 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.454e-06/0.2179, allocations: 0 / 0.6897 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02829/0.2462, allocations: 8.07 MB / 0.6976 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2463, allocations: 59.97 kB / 0.6977 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.2475, allocations: 0.922 MB / 0.6986 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/0.2476, allocations: 37.7 kB / 0.6986 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.2481, allocations: 0.7813 MB / 0.6994 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.2483, allocations: 244.5 kB / 0.6996 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.2487, allocations: 218.7 kB / 0.6998 GB, free: 14.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2489, allocations: 402.7 kB / 0.7002 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.2502, allocations: 0.81 MB / 0.701 GB, free: 13.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.2517, allocations: 1.147 MB / 0.7021 GB, free: 11.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.2545, allocations: 1.997 MB / 0.7041 GB, free: 9.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.2545, allocations: 4 kB / 0.7041 GB, free: 9.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009288/0.2638, allocations: 3.666 MB / 0.7077 GB, free: 5.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.2638, allocations: 8 kB / 0.7077 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.2639, allocations: 12 kB / 0.7077 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007176/0.271, allocations: 1.894 MB / 0.7095 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.272, allocations: 235.6 kB / 0.7097 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.287, allocations: 10.58 MB / 0.7201 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.2884, allocations: 183.6 kB / 0.7203 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.2886, allocations: 51.98 kB / 0.7203 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002263/0.2909, allocations: 1.521 MB / 0.7218 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001457/0.2924, allocations: 1.128 MB / 0.7229 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002736/0.2951, allocations: 1.939 MB / 0.7248 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/0.2951, allocations: 7.938 kB / 0.7248 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007615/0.3027, allocations: 3.088 MB / 0.7278 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3028, allocations: 15.94 kB / 0.7278 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3028, allocations: 8.375 kB / 0.7278 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/0.3074, allocations: 1.205 MB / 0.729 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.3085, allocations: 283.5 kB / 0.7293 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008032/0.3166, allocations: 5.852 MB / 0.735 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.318, allocations: 167.7 kB / 0.7352 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.3182, allocations: 51.98 kB / 0.7352 GB, free: 9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.3185, allocations: 255.8 kB / 0.7354 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3188, allocations: 82.97 kB / 0.7355 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/0.3271, allocations: 3.171 MB / 0.7386 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.3271, allocations: 8 kB / 0.7386 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3272, allocations: 8 kB / 0.7386 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3272, allocations: 3.984 kB / 0.7386 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.3382, allocations: 5.278 MB / 0.7438 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3382, allocations: 0 / 0.7438 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.3387, allocations: 99.92 kB / 0.7439 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00623/0.3449, allocations: 1.718 MB / 0.7456 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/0.345, allocations: 12 kB / 0.7456 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.3584, allocations: 9.986 MB / 0.7553 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3585, allocations: 12 kB / 0.7553 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/0.3661, allocations: 3.015 MB / 0.7583 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.3667, allocations: 320.1 kB / 0.7586 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.3669, allocations: 23.94 kB / 0.7586 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.3678, allocations: 135.7 kB / 0.7587 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.3681, allocations: 68.41 kB / 0.7588 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.3681, allocations: 20 kB / 0.7588 GB, free: 304 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.3095/0.6776, allocations: 0.6769 MB / 0.7595 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6777, allocations: 0.6562 kB / 0.7595 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002952/0.6806, allocations: 0.6901 MB / 0.7602 GB, free: 116.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.6809, allocations: 121 kB / 0.7603 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006285/0.6872, allocations: 3.541 MB / 0.7637 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6872, allocations: 1.375 kB / 0.7637 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.6893, allocations: 1.248 MB / 0.765 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6907, allocations: 283.9 kB / 0.7652 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/0.6962, allocations: 3.662 MB / 0.7688 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.6981, allocations: 1.731 MB / 0.7705 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.6985, allocations: 76.86 kB / 0.7706 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.6985, allocations: 0 / 0.7706 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.03958/0.738, allocations: 43.19 MB / 0.8127 GB, free: 82.75 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)