Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001315/0.001315, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001466/0.001466, allocations: 161.9 kB / 22.46 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.167/1.167, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.992e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01757/0.0176, allocations: 13.07 MB / 0.6313 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03403, allocations: 9.013 MB / 0.6401 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.03549, allocations: 79.25 kB / 0.6402 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.04055, allocations: 1.676 MB / 0.6419 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.04627, allocations: 1.625 MB / 0.6434 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.04863, allocations: 0.774 MB / 0.6442 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.05281, allocations: 2.612 MB / 0.6467 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.05509, allocations: 1.188 MB / 0.6479 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.05791, allocations: 1.5 MB / 0.6494 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.06001, allocations: 0.9973 MB / 0.6503 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.06043, allocations: 164 kB / 0.6505 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.06212, allocations: 0.7327 MB / 0.6512 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008789/0.063, allocations: 0.6503 MB / 0.6518 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.06419, allocations: 0.6507 MB / 0.6525 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.06849, allocations: 2.808 MB / 0.6552 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.0685, allocations: 0 / 0.6552 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.0685, allocations: 4 kB / 0.6552 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.152e-05/0.06859, allocations: 0 / 0.6552 GB, free: 14.9 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.005026/0.07362, allocations: 2.1 MB / 0.6573 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.07365, allocations: 8.031 kB / 0.6573 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.08602, allocations: 2.094 MB / 0.6593 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.0892, allocations: 1.215 MB / 0.6605 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.08928, allocations: 90.73 kB / 0.6606 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.08962, allocations: 120.3 kB / 0.6607 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.0962, allocations: 3.082 MB / 0.6637 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.09624, allocations: 7.938 kB / 0.6637 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.09642, allocations: 59.92 kB / 0.6638 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006758/0.09709, allocations: 182.1 kB / 0.664 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.1052, allocations: 2.795 MB / 0.6667 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.1199, allocations: 8.12 MB / 0.6746 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/0.1272, allocations: 2.22 MB / 0.6768 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/0.1307, allocations: 1.213 MB / 0.678 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.1307, allocations: 9 kB / 0.678 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.1308, allocations: 43.56 kB / 0.678 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.1308, allocations: 4 kB / 0.678 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.05114/0.1819, allocations: 12.65 MB / 0.6904 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.182, allocations: 76.7 kB / 0.6905 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.1834, allocations: 0.9718 MB / 0.6914 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.1836, allocations: 45.7 kB / 0.6915 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.1842, allocations: 0.7355 MB / 0.6922 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.1847, allocations: 464 kB / 0.6926 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.1852, allocations: 259.5 kB / 0.6929 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.1854, allocations: 357.9 kB / 0.6932 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/0.1891, allocations: 1.343 MB / 0.6945 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.1932, allocations: 1.6 MB / 0.6961 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007904/0.2011, allocations: 2.994 MB / 0.699 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2011, allocations: 0 / 0.699 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.318/0.5191, allocations: 4.383 MB / 0.7033 GB, free: 84.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.5191, allocations: 9.031 kB / 0.7033 GB, free: 84.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5191, allocations: 6.25 kB / 0.7033 GB, free: 84.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/0.5247, allocations: 1.432 MB / 0.7047 GB, free: 83.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.5269, allocations: 439 kB / 0.7051 GB, free: 83.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/0.5505, allocations: 24.8 MB / 0.7293 GB, free: 64.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.5538, allocations: 302.9 kB / 0.7296 GB, free: 64.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.5541, allocations: 63.73 kB / 0.7297 GB, free: 64.29 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 (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.001141/0.5552, allocations: 439.1 kB / 0.7301 GB, free: 64.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.5557, allocations: 156 kB / 0.7302 GB, free: 63.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.568, allocations: 4.403 MB / 0.7345 GB, free: 62.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.568, allocations: 12.97 kB / 0.7346 GB, free: 62.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/0.5681, allocations: 12.81 kB / 0.7346 GB, free: 62.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.5681, allocations: 7.125 kB / 0.7346 GB, free: 62.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.583, allocations: 6.113 MB / 0.7405 GB, free: 60.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5831, allocations: 2.656 kB / 0.7406 GB, free: 60.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.585, allocations: 385.8 kB / 0.7409 GB, free: 60.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.5898, allocations: 1.303 MB / 0.7422 GB, free: 59.44 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.59, allocations: 45.45 kB / 0.7422 GB, free: 59.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/0.6104, allocations: 23.66 MB / 0.7653 GB, free: 38.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6104, allocations: 3.406 kB / 0.7653 GB, free: 38.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.6205, allocations: 4.143 MB / 0.7694 GB, free: 36.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6215, allocations: 373.1 kB / 0.7697 GB, free: 36.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.6218, allocations: 22.34 kB / 0.7698 GB, free: 36.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/0.6239, allocations: 312.2 kB / 0.7701 GB, free: 35.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/0.6244, allocations: 136.7 kB / 0.7702 GB, free: 35.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6245, allocations: 56.66 kB / 0.7703 GB, free: 35.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007094/0.6252, allocations: 0.6467 MB / 0.7709 GB, free: 34.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6252, allocations: 0 / 0.7709 GB, free: 34.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00204/0.6273, allocations: 0.5625 MB / 0.7714 GB, free: 34.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 (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.0003101/0.6276, allocations: 146.9 kB / 0.7716 GB, free: 34.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.6377, allocations: 4.965 MB / 0.7764 GB, free: 29.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.6378, allocations: 0 / 0.7764 GB, free: 29.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006076/0.6438, allocations: 3.406 MB / 0.7797 GB, free: 25.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.6464, allocations: 0.5008 MB / 0.7802 GB, free: 25.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007775/0.6542, allocations: 4.035 MB / 0.7842 GB, free: 21.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.6553, allocations: 0.8867 MB / 0.785 GB, free: 20.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001437/0.6568, allocations: 408.4 kB / 0.7854 GB, free: 19.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.6572, allocations: 104.4 kB / 0.7855 GB, free: 19.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.423e-06/0.6572, allocations: 0 / 0.7855 GB, free: 19.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.05854/0.7158, allocations: 40.13 MB / 0.8247 GB, free: 12.23 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.525576952844858] Failed to read output from testmodel.py, exit status != 0: 0.7247917801141739 0.739427001 0.667578068 Calling exit ...