Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105 kB / 16.52 MB, free: 6.27 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.001434/0.001434, allocations: 197 kB / 17.44 MB, free: 5.887 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7137/0.7137, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 63.89 kB / 493.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3587, allocations: 76.17 MB / 0.5564 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01377/0.3725, allocations: 14.67 MB / 0.5707 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3862, allocations: 10.36 MB / 0.5808 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.388, allocations: 55 kB / 0.5809 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.3917, allocations: 1.58 MB / 0.5824 GB, free: 18.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.3972, allocations: 1.602 MB / 0.584 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.3996, allocations: 0.6879 MB / 0.5847 GB, free: 16.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004725/0.4043, allocations: 3.413 MB / 0.588 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.4065, allocations: 1.358 MB / 0.5893 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.409, allocations: 1.392 MB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.4109, allocations: 1.168 MB / 0.5918 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.4111, allocations: 96.47 kB / 0.5919 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.4128, allocations: 0.8818 MB / 0.5928 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.4133, allocations: 0.5381 MB / 0.5933 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.4141, allocations: 0.8913 MB / 0.5942 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.4158, allocations: 2.188 MB / 0.5963 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4158, allocations: 0 / 0.5963 GB, free: 10.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4158, allocations: 1.094 kB / 0.5963 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.4158, allocations: 3.938 kB / 0.5963 GB, free: 10.95 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.003492/0.4193, allocations: 2.167 MB / 0.5984 GB, free: 9.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4194, allocations: 13.06 kB / 0.5984 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4298, allocations: 2.108 MB / 0.6005 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.4321, allocations: 1.213 MB / 0.6017 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.4322, allocations: 86.69 kB / 0.6018 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.4324, allocations: 120.1 kB / 0.6019 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.4371, allocations: 2.674 MB / 0.6045 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.4371, allocations: 11.84 kB / 0.6045 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.4373, allocations: 59.97 kB / 0.6046 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/0.4379, allocations: 190.1 kB / 0.6047 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/0.4439, allocations: 2.791 MB / 0.6075 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.4577, allocations: 10.51 MB / 0.6177 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006039/0.4637, allocations: 2.336 MB / 0.62 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.4667, allocations: 1.276 MB / 0.6213 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.4668, allocations: 9 kB / 0.6213 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.4669, allocations: 47.56 kB / 0.6213 GB, free: 1.281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 4.108e-06/0.4669, allocations: 0 / 0.6213 GB, free: 1.281 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05975/0.5267, allocations: 16.48 MB / 0.6374 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.5267, allocations: 68.72 kB / 0.6375 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.5285, allocations: 1.176 MB / 0.6386 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5287, allocations: 49.7 kB / 0.6387 GB, free: 15.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/0.5292, allocations: 0.7398 MB / 0.6394 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/0.5298, allocations: 0.5198 MB / 0.6399 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/0.5304, allocations: 287.5 kB / 0.6402 GB, free: 13.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5305, allocations: 309.1 kB / 0.6405 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.5338, allocations: 1.503 MB / 0.6419 GB, free: 11.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.5373, allocations: 1.784 MB / 0.6437 GB, free: 10.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/0.5442, allocations: 3.365 MB / 0.647 GB, free: 6.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5443, allocations: 4 kB / 0.647 GB, free: 6.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01332/0.5576, allocations: 5.276 MB / 0.6521 GB, free: 1.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.5577, allocations: 8 kB / 0.6521 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.5577, allocations: 8 kB / 0.6521 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007156/0.5649, allocations: 1.878 MB / 0.654 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.5668, allocations: 423.2 kB / 0.6544 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02893/0.5958, allocations: 22.18 MB / 0.676 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.5985, allocations: 315.5 kB / 0.6763 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.5989, allocations: 67.95 kB / 0.6764 GB, free: 7.344 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001208/0.6001, allocations: 466.1 kB / 0.6768 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/0.6007, allocations: 169.9 kB / 0.677 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.614, allocations: 5.327 MB / 0.6822 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.614, allocations: 12 kB / 0.6822 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-05/0.6141, allocations: 20 kB / 0.6822 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6141, allocations: 7.969 kB / 0.6822 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.6305, allocations: 7.426 MB / 0.6895 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.6305, allocations: 4 kB / 0.6895 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.632, allocations: 351.4 kB / 0.6898 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006113/0.6382, allocations: 1.705 MB / 0.6915 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.6383, allocations: 51.84 kB / 0.6916 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/0.6651, allocations: 21.34 MB / 0.7124 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6651, allocations: 0 / 0.7124 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.6768, allocations: 4.905 MB / 0.7172 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.678, allocations: 494.8 kB / 0.7177 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/0.6785, allocations: 28 kB / 0.7177 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.6808, allocations: 316 kB / 0.718 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000551/0.6813, allocations: 153 kB / 0.7181 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.6815, allocations: 55.97 kB / 0.7182 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001333/0.6828, allocations: 0.7899 MB / 0.719 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6829, allocations: 0 / 0.719 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002551/0.6854, allocations: 0.6523 MB / 0.7196 GB, free: 9.75 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003581/0.6858, allocations: 143.1 kB / 0.7197 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.6965, allocations: 5.132 MB / 0.7247 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.6966, allocations: 4 kB / 0.7247 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006783/0.7033, allocations: 3.359 MB / 0.728 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.7066, allocations: 0.5238 MB / 0.7285 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7168, allocations: 5.117 MB / 0.7335 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.7185, allocations: 1.564 MB / 0.7351 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006788/0.7192, allocations: 135.3 kB / 0.7352 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.7193, allocations: 0 / 0.7352 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of Templates: time 0.2969/1.016, allocations: 85.7 MB / 0.8189 GB, free: 109.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)