Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001321/0.001321, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.001434/0.001434, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.413/1.413, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.29/1.29, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.382e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01868/0.0187, allocations: 13.71 MB / 0.632 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.03588, allocations: 9.837 MB / 0.6416 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.03739, allocations: 75.31 kB / 0.6417 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.04262, allocations: 1.688 MB / 0.6433 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.04858, allocations: 1.895 MB / 0.6452 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.05098, allocations: 0.7705 MB / 0.6459 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004834/0.05582, allocations: 2.849 MB / 0.6487 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.05828, allocations: 1.196 MB / 0.6499 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.06221, allocations: 2.012 MB / 0.6518 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.06502, allocations: 0.9777 MB / 0.6528 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004863/0.0655, allocations: 164 kB / 0.6529 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.06787, allocations: 0.7327 MB / 0.6536 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009418/0.06881, allocations: 0.6386 MB / 0.6543 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.07014, allocations: 0.6468 MB / 0.6549 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004591/0.07473, allocations: 2.808 MB / 0.6576 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.07474, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.07474, allocations: 0 / 0.6576 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.254e-05/0.07482, allocations: 0 / 0.6576 GB, free: 12.38 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.005024/0.07985, allocations: 2.132 MB / 0.6597 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.0799, allocations: 8.031 kB / 0.6597 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.09304, allocations: 2.125 MB / 0.6618 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.09644, allocations: 1.228 MB / 0.663 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.09653, allocations: 90.69 kB / 0.6631 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.0969, allocations: 116.4 kB / 0.6632 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/0.1042, allocations: 3.07 MB / 0.6662 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/0.1042, allocations: 19.83 kB / 0.6662 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.1044, allocations: 51.98 kB / 0.6663 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000749/0.1052, allocations: 194.1 kB / 0.6665 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009166/0.1144, allocations: 2.787 MB / 0.6692 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.1307, allocations: 8.118 MB / 0.6771 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/0.1384, allocations: 2.183 MB / 0.6792 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/0.142, allocations: 1.202 MB / 0.6804 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/0.142, allocations: 9 kB / 0.6804 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.1421, allocations: 47.56 kB / 0.6805 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.1421, allocations: 0 / 0.6805 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06577/0.2079, allocations: 16 MB / 0.6961 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.2079, allocations: 64.72 kB / 0.6961 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.2097, allocations: 1.035 MB / 0.6972 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/0.21, allocations: 53.7 kB / 0.6972 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/0.2106, allocations: 0.7558 MB / 0.6979 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/0.2112, allocations: 0.5266 MB / 0.6985 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/0.2118, allocations: 287.5 kB / 0.6987 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.212, allocations: 305.1 kB / 0.699 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3465/0.5584, allocations: 1.506 MB / 0.7005 GB, free: 84.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/0.5632, allocations: 1.78 MB / 0.7022 GB, free: 84.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008568/0.5717, allocations: 3.37 MB / 0.7055 GB, free: 82.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.5717, allocations: 7.031 kB / 0.7055 GB, free: 82.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01494/0.5867, allocations: 5.196 MB / 0.7106 GB, free: 81.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.5867, allocations: 6.5 kB / 0.7106 GB, free: 81.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5867, allocations: 7.891 kB / 0.7106 GB, free: 81.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/0.5942, allocations: 1.872 MB / 0.7124 GB, free: 80.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.5964, allocations: 419.8 kB / 0.7128 GB, free: 80.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/0.626, allocations: 22.84 MB / 0.7352 GB, free: 65.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.6289, allocations: 304.1 kB / 0.7354 GB, free: 65.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.6292, allocations: 76.31 kB / 0.7355 GB, free: 65.42 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.0008542/0.6301, allocations: 458.1 kB / 0.736 GB, free: 65.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.6304, allocations: 171.8 kB / 0.7361 GB, free: 65.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.644, allocations: 5.236 MB / 0.7412 GB, free: 62.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.644, allocations: 14.62 kB / 0.7412 GB, free: 62.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.442e-05/0.6441, allocations: 18.69 kB / 0.7413 GB, free: 62.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.6441, allocations: 9.312 kB / 0.7413 GB, free: 62.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.6601, allocations: 6.802 MB / 0.7479 GB, free: 58.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.6602, allocations: 2.406 kB / 0.7479 GB, free: 58.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.6619, allocations: 347.2 kB / 0.7482 GB, free: 58.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/0.6679, allocations: 1.706 MB / 0.7499 GB, free: 57.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/0.6681, allocations: 45.69 kB / 0.75 GB, free: 57.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/0.69, allocations: 22.01 MB / 0.7715 GB, free: 35.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.69, allocations: 15.88 kB / 0.7715 GB, free: 35.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/0.7017, allocations: 4.813 MB / 0.7762 GB, free: 30.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.7029, allocations: 411.7 kB / 0.7766 GB, free: 30.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.7032, allocations: 28 kB / 0.7766 GB, free: 30.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.7055, allocations: 315.5 kB / 0.7769 GB, free: 29.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/0.7062, allocations: 160.8 kB / 0.777 GB, free: 29.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.7063, allocations: 59.95 kB / 0.7771 GB, free: 29.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008144/0.7071, allocations: 0.684 MB / 0.7778 GB, free: 29.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7071, allocations: 0 / 0.7778 GB, free: 29.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002642/0.7098, allocations: 0.6523 MB / 0.7784 GB, free: 28.42 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.0005025/0.7103, allocations: 144.2 kB / 0.7785 GB, free: 28.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.7208, allocations: 4.919 MB / 0.7833 GB, free: 23.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.7209, allocations: 4 kB / 0.7833 GB, free: 23.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006589/0.7274, allocations: 3.266 MB / 0.7865 GB, free: 19.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.7299, allocations: 0.5088 MB / 0.787 GB, free: 19.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00827/0.7382, allocations: 4.321 MB / 0.7913 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/0.7391, allocations: 0.976 MB / 0.7922 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001241/0.7403, allocations: 369.1 kB / 0.7926 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.7407, allocations: 104.4 kB / 0.7927 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/0.7407, allocations: 4 kB / 0.7927 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.07265/0.8133, allocations: 46.55 MB / 0.8381 GB, free: 15.79 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.746881481260061] Failed to read output from testmodel.py, exit status != 0: 0.8245530351996422 0.857032317 0.7764612439999999 Calling exit ...