Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 112 kB / 17.04 MB, free: 5.812 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.001551/0.001552, allocations: 195 kB / 17.98 MB, free: 5.027 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.1 MB / 407 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 72.09 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3378, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01604/0.3539, allocations: 14.02 MB / 0.5713 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3679, allocations: 9.385 MB / 0.5804 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.3702, allocations: 58.38 kB / 0.5805 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.3747, allocations: 1.668 MB / 0.5821 GB, free: 19.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.3801, allocations: 1.539 MB / 0.5836 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.3825, allocations: 0.761 MB / 0.5844 GB, free: 18.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.3866, allocations: 2.514 MB / 0.5868 GB, free: 17.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.3891, allocations: 1.419 MB / 0.5882 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3912, allocations: 1.042 MB / 0.5892 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.3934, allocations: 1.148 MB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.3942, allocations: 168.8 kB / 0.5905 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.3971, allocations: 0.7905 MB / 0.5913 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3984, allocations: 0.6176 MB / 0.5919 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.4011, allocations: 0.941 MB / 0.5928 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.4072, allocations: 2.757 MB / 0.5955 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4072, allocations: 0 / 0.5955 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4072, allocations: 5.125 kB / 0.5955 GB, free: 12.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.4074, allocations: 0 / 0.5955 GB, free: 12.35 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007943/0.4153, allocations: 2.143 MB / 0.5976 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.4154, allocations: 9.375 kB / 0.5976 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.4301, allocations: 2.088 MB / 0.5996 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004837/0.435, allocations: 1.287 MB / 0.6009 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.4352, allocations: 90.73 kB / 0.601 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000788/0.436, allocations: 124 kB / 0.6011 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.4449, allocations: 2.682 MB / 0.6037 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.4451, allocations: 7.938 kB / 0.6037 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005077/0.4456, allocations: 55.98 kB / 0.6038 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008034/0.4465, allocations: 178.1 kB / 0.604 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.457, allocations: 2.791 MB / 0.6067 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.4751, allocations: 10.47 MB / 0.6169 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006807/0.4819, allocations: 2.522 MB / 0.6194 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/0.4853, allocations: 1.284 MB / 0.6206 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.4854, allocations: 12.98 kB / 0.6206 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4855, allocations: 47.56 kB / 0.6207 GB, free: 2.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/0.4855, allocations: 0 / 0.6207 GB, free: 2.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04678/0.5323, allocations: 13.36 MB / 0.6337 GB, free: 5.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5324, allocations: 68.66 kB / 0.6338 GB, free: 5.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.5344, allocations: 1.121 MB / 0.6349 GB, free: 4.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.5347, allocations: 45.7 kB / 0.6349 GB, free: 4.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.5353, allocations: 0.7117 MB / 0.6356 GB, free: 3.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/0.536, allocations: 461.3 kB / 0.6361 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000661/0.5367, allocations: 259.4 kB / 0.6363 GB, free: 2.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5369, allocations: 365.9 kB / 0.6367 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/0.5402, allocations: 1.343 MB / 0.638 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.5437, allocations: 1.596 MB / 0.6395 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.5505, allocations: 2.994 MB / 0.6425 GB, free: 12.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5505, allocations: 0 / 0.6425 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01174/0.5623, allocations: 4.451 MB / 0.6468 GB, free: 7.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.5624, allocations: 8 kB / 0.6468 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5624, allocations: 8 kB / 0.6468 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/0.5678, allocations: 1.426 MB / 0.6482 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.57, allocations: 439.2 kB / 0.6486 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/0.5982, allocations: 26.67 MB / 0.6747 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.6011, allocations: 303.6 kB / 0.675 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/0.6014, allocations: 63.91 kB / 0.675 GB, free: 8.898 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.6025, allocations: 437.6 kB / 0.6754 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.603, allocations: 166 kB / 0.6756 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.6146, allocations: 4.453 MB / 0.68 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6146, allocations: 12 kB / 0.68 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-05/0.6147, allocations: 16 kB / 0.68 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.6147, allocations: 7.922 kB / 0.68 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6308, allocations: 6.771 MB / 0.6866 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.6308, allocations: 0 / 0.6866 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.6326, allocations: 383.3 kB / 0.687 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004837/0.6375, allocations: 1.305 MB / 0.6882 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.6378, allocations: 43.91 kB / 0.6883 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02495/0.6628, allocations: 25.49 MB / 0.7132 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6628, allocations: 4 kB / 0.7132 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.6735, allocations: 4.199 MB / 0.7173 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.6749, allocations: 462.9 kB / 0.7177 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/0.6753, allocations: 24 kB / 0.7177 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.6775, allocations: 315.5 kB / 0.718 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.6779, allocations: 120.7 kB / 0.7182 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.6781, allocations: 51.97 kB / 0.7182 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001116/0.6792, allocations: 0.7564 MB / 0.7189 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6792, allocations: 3.938 kB / 0.719 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002119/0.6814, allocations: 0.5703 MB / 0.7195 GB, free: 9.129 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.6817, allocations: 135.8 kB / 0.7196 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01071/0.6924, allocations: 5.134 MB / 0.7247 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6924, allocations: 4 kB / 0.7247 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00667/0.6991, allocations: 3.487 MB / 0.7281 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.7021, allocations: 0.5398 MB / 0.7286 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/0.7107, allocations: 4.017 MB / 0.7325 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.712, allocations: 1.477 MB / 0.734 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001495/0.7135, allocations: 421.6 kB / 0.7344 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.7139, allocations: 111.4 kB / 0.7345 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.714, allocations: 0 / 0.7345 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.2869/1.001, allocations: 38.93 MB / 0.7725 GB, free: 151.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)