Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 165.7 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.217/1.217, allocations: 154.6 MB / 413.7 MB, free: 5.27 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.068e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02154/0.02158, allocations: 13.72 MB / 0.6319 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.0393, allocations: 9.83 MB / 0.6415 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.0411, allocations: 79.25 kB / 0.6416 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004869/0.04597, allocations: 1.691 MB / 0.6432 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00602/0.05199, allocations: 1.894 MB / 0.6451 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.0544, allocations: 0.7741 MB / 0.6458 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.05924, allocations: 2.843 MB / 0.6486 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.06145, allocations: 1.192 MB / 0.6498 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003536/0.06499, allocations: 2.008 MB / 0.6517 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.06698, allocations: 0.9777 MB / 0.6527 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.06726, allocations: 163.9 kB / 0.6529 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.0691, allocations: 0.7327 MB / 0.6536 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00078/0.06988, allocations: 0.6503 MB / 0.6542 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.07091, allocations: 0.6468 MB / 0.6548 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003909/0.07482, allocations: 2.804 MB / 0.6576 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.07482, allocations: 0 / 0.6576 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.07482, allocations: 0 / 0.6576 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.07485, allocations: 0 / 0.6576 GB, free: 12.5 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004013/0.07887, allocations: 2.128 MB / 0.6597 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.07891, allocations: 13.47 kB / 0.6597 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.0913, allocations: 2.125 MB / 0.6617 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.09444, allocations: 1.228 MB / 0.6629 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.09453, allocations: 86.69 kB / 0.663 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.09484, allocations: 124.3 kB / 0.6631 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006523/0.1014, allocations: 3.07 MB / 0.6661 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.1014, allocations: 11.89 kB / 0.6662 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.1016, allocations: 63.95 kB / 0.6662 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006886/0.1023, allocations: 190.1 kB / 0.6664 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008327/0.1106, allocations: 2.791 MB / 0.6691 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.1264, allocations: 8.114 MB / 0.677 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007239/0.1336, allocations: 2.179 MB / 0.6792 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003516/0.1371, allocations: 1.209 MB / 0.6804 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.658e-05/0.1372, allocations: 9 kB / 0.6804 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.1373, allocations: 43.56 kB / 0.6804 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.356e-06/0.1373, allocations: 0 / 0.6804 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06673/0.204, allocations: 15.98 MB / 0.696 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.2041, allocations: 76.64 kB / 0.6961 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.2064, allocations: 1.035 MB / 0.6971 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/0.2068, allocations: 53.7 kB / 0.6971 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.2083, allocations: 0.7518 MB / 0.6979 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.2093, allocations: 0.5344 MB / 0.6984 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.21, allocations: 287.5 kB / 0.6987 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2101, allocations: 305.1 kB / 0.699 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3172/0.5274, allocations: 1.509 MB / 0.7004 GB, free: 84.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/0.5316, allocations: 1.778 MB / 0.7022 GB, free: 84.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007831/0.5394, allocations: 3.372 MB / 0.7055 GB, free: 82.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5394, allocations: 5.688 kB / 0.7055 GB, free: 82.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01356/0.553, allocations: 5.195 MB / 0.7105 GB, free: 81.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.553, allocations: 6.156 kB / 0.7105 GB, free: 81.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.553, allocations: 9.531 kB / 0.7106 GB, free: 81.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/0.5601, allocations: 1.872 MB / 0.7124 GB, free: 80.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5623, allocations: 418.4 kB / 0.7128 GB, free: 80.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02646/0.5887, allocations: 22.83 MB / 0.7351 GB, free: 65.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.5915, allocations: 306.4 kB / 0.7354 GB, free: 65.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5917, allocations: 72.11 kB / 0.7354 GB, free: 65.56 MB / 0.6075 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.0007881/0.5925, allocations: 458 kB / 0.7359 GB, free: 65.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.5928, allocations: 173.1 kB / 0.736 GB, free: 65.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.606, allocations: 5.244 MB / 0.7412 GB, free: 62.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.606, allocations: 16.03 kB / 0.7412 GB, free: 62.86 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.6061, allocations: 18.06 kB / 0.7412 GB, free: 62.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.6061, allocations: 7.969 kB / 0.7412 GB, free: 62.85 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.6217, allocations: 6.786 MB / 0.7478 GB, free: 58.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.6217, allocations: 2.641 kB / 0.7478 GB, free: 58.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.6235, allocations: 353.2 kB / 0.7482 GB, free: 58.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.6292, allocations: 1.707 MB / 0.7498 GB, free: 57.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.6293, allocations: 46.03 kB / 0.7499 GB, free: 57.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.6508, allocations: 22.02 MB / 0.7714 GB, free: 35.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6508, allocations: 11.95 kB / 0.7714 GB, free: 35.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.6622, allocations: 4.801 MB / 0.7761 GB, free: 30.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.6633, allocations: 410.7 kB / 0.7765 GB, free: 30.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.6636, allocations: 31.98 kB / 0.7765 GB, free: 30.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/0.6658, allocations: 319.5 kB / 0.7768 GB, free: 30.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/0.6664, allocations: 168.8 kB / 0.777 GB, free: 30.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.6665, allocations: 51.97 kB / 0.777 GB, free: 29.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008344/0.6673, allocations: 0.6879 MB / 0.7777 GB, free: 29.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6673, allocations: 0 / 0.7777 GB, free: 29.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002095/0.6694, allocations: 0.6523 MB / 0.7783 GB, free: 28.64 MB / 0.6075 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.0003083/0.6697, allocations: 139.6 kB / 0.7785 GB, free: 28.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.68, allocations: 4.917 MB / 0.7833 GB, free: 23.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.68, allocations: 4 kB / 0.7833 GB, free: 23.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006164/0.6862, allocations: 3.269 MB / 0.7865 GB, free: 20.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.6886, allocations: 0.5107 MB / 0.787 GB, free: 19.65 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.6966, allocations: 4.326 MB / 0.7912 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.6975, allocations: 0.9721 MB / 0.7921 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001226/0.6987, allocations: 373.2 kB / 0.7925 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.6991, allocations: 100.4 kB / 0.7926 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.233e-06/0.6991, allocations: 0 / 0.7926 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.06883/0.7679, allocations: 46.57 MB / 0.8381 GB, free: 12 kB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.772158831357956] Failed to read output from testmodel.py, exit status != 0: 0.7781815715134144 0.7924452740000001 0.7143663760000001 Calling exit ...