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.0007601/0.0007601, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007545/0.0007545, allocations: 211.8 kB / 23 MB, free: 2.977 MB / 13.93 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 0.8706/0.8706, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7554/0.7554, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000871/0.000871, allocations: 66.67 kB / 0.719 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4534, allocations: 102 MB / 0.8186 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01236/0.4658, allocations: 13.93 MB / 0.8322 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.4774, allocations: 9.968 MB / 0.8419 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.4783, allocations: 77.41 kB / 0.842 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.4805, allocations: 1.691 MB / 0.8437 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.4837, allocations: 1.848 MB / 0.8455 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4849, allocations: 0.7602 MB / 0.8462 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.4871, allocations: 2.774 MB / 0.8489 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.4882, allocations: 1.183 MB / 0.8501 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4897, allocations: 1.626 MB / 0.8517 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.4908, allocations: 1.092 MB / 0.8527 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.4909, allocations: 164.7 kB / 0.8529 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.4919, allocations: 0.7245 MB / 0.8536 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.4923, allocations: 0.6171 MB / 0.8542 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.4929, allocations: 0.779 MB / 0.855 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.4949, allocations: 2.797 MB / 0.8577 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4949, allocations: 0 / 0.8577 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4949, allocations: 0 / 0.8577 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.495, allocations: 0 / 0.8577 GB, free: 8.223 MB / 0.6355 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.002667/0.4977, allocations: 2.151 MB / 0.8598 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.4977, allocations: 8.75 kB / 0.8598 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006148/0.5038, allocations: 2.117 MB / 0.8619 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.5055, allocations: 1.231 MB / 0.8631 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.5056, allocations: 84.22 kB / 0.8632 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.5057, allocations: 124.6 kB / 0.8633 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.5095, allocations: 3.076 MB / 0.8663 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.5095, allocations: 10.58 kB / 0.8663 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.5096, allocations: 55.89 kB / 0.8663 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003482/0.51, allocations: 189.8 kB / 0.8665 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.5144, allocations: 2.785 MB / 0.8692 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007667/0.5221, allocations: 8.125 MB / 0.8772 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.5256, allocations: 2.175 MB / 0.8793 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.5273, allocations: 1.206 MB / 0.8805 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.5273, allocations: 13 kB / 0.8805 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5273, allocations: 47.56 kB / 0.8805 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.435e-06/0.5273, allocations: 0 / 0.8805 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03043/0.5578, allocations: 15.99 MB / 0.8961 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5578, allocations: 68.72 kB / 0.8962 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5589, allocations: 1.038 MB / 0.8972 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.559, allocations: 57.69 kB / 0.8973 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.5594, allocations: 0.748 MB / 0.898 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.5598, allocations: 0.5383 MB / 0.8985 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.5601, allocations: 287.5 kB / 0.8988 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.5602, allocations: 305.1 kB / 0.8991 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.5622, allocations: 1.51 MB / 0.9006 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.5644, allocations: 1.78 MB / 0.9023 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/0.5685, allocations: 3.373 MB / 0.9056 GB, free: 12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5685, allocations: 4 kB / 0.9056 GB, free: 12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007304/0.5758, allocations: 5.188 MB / 0.9107 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5758, allocations: 10.66 kB / 0.9107 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5758, allocations: 12 kB / 0.9107 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/0.5793, allocations: 1.879 MB / 0.9125 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.5803, allocations: 419.2 kB / 0.9129 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.5979, allocations: 22.85 MB / 0.9353 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5994, allocations: 315.5 kB / 0.9356 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5995, allocations: 63.97 kB / 0.9356 GB, free: 12.41 MB / 0.7136 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.000686/0.6002, allocations: 469.4 kB / 0.9361 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.6004, allocations: 167 kB / 0.9362 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007285/0.6077, allocations: 5.236 MB / 0.9413 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6077, allocations: 16 kB / 0.9413 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/0.6077, allocations: 20 kB / 0.9414 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6077, allocations: 7.969 kB / 0.9414 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/0.6166, allocations: 6.806 MB / 0.948 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6166, allocations: 0 / 0.948 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.6174, allocations: 351.4 kB / 0.9484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/0.6204, allocations: 1.71 MB / 0.95 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.6205, allocations: 39.97 kB / 0.9501 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.6365, allocations: 22.02 MB / 0.9716 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6365, allocations: 7.984 kB / 0.9716 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/0.6431, allocations: 4.809 MB / 0.9763 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.6437, allocations: 406.7 kB / 0.9767 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6438, allocations: 31.98 kB / 0.9767 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6449, allocations: 315.5 kB / 0.977 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.6452, allocations: 156.9 kB / 0.9771 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.6453, allocations: 55.97 kB / 0.9772 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006011/0.6459, allocations: 0.6918 MB / 0.9779 GB, free: 60 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.6459, allocations: 0 / 0.9779 GB, free: 60 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001501/0.6474, allocations: 0.6562 MB / 0.9785 GB, free: 15.4 MB / 0.7605 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.0002225/0.6476, allocations: 145.5 kB / 0.9787 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005963/0.6536, allocations: 4.921 MB / 0.9835 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6536, allocations: 4 kB / 0.9835 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/0.6571, allocations: 3.261 MB / 0.9866 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6583, allocations: 0.5114 MB / 0.9871 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.6638, allocations: 4.474 MB / 0.9915 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.6646, allocations: 0.9838 MB / 0.9925 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.6649, allocations: 123.3 kB / 0.9926 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of SimCode: time 7.22e-07/0.6649, allocations: 0 / 0.9926 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of Templates: time 0.05791/0.7228, allocations: 85.72 MB / 1.076 GB, free: 11.03 MB / 0.8542 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: 9.72618531389162] Failed to read output from testmodel.py, exit status != 0: 0.7278810632415116 0.735934125 0.239342417 Calling exit ...