Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001359/0.001359, allocations: 78.48 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.001554/0.001554, allocations: 170 kB / 22.46 MB, free: 5.359 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.203 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.173e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04686/0.04689, allocations: 35.65 MB / 0.6534 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.06754, allocations: 10.95 MB / 0.6641 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003961/0.0715, allocations: 202.6 kB / 0.6643 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.08432, allocations: 4.399 MB / 0.6686 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008083/0.0924, allocations: 2.392 MB / 0.6709 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.09858, allocations: 2.19 MB / 0.6731 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01254/0.1111, allocations: 9.469 MB / 0.6823 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01405/0.1252, allocations: 6.358 MB / 0.6885 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.137, allocations: 5.781 MB / 0.6942 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008385/0.1453, allocations: 4.189 MB / 0.6983 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00278/0.1481, allocations: 0.8242 MB / 0.6991 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.1532, allocations: 1.517 MB / 0.7006 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.3373/0.4905, allocations: 3.364 MB / 0.7038 GB, free: 32.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00623/0.4968, allocations: 2.566 MB / 0.7063 GB, free: 32.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.5116, allocations: 12.57 MB / 0.7186 GB, free: 32.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5116, allocations: 0 / 0.7186 GB, free: 32.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5116, allocations: 1.75 kB / 0.7186 GB, free: 32.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003556/0.512, allocations: 0 / 0.7186 GB, free: 32.38 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01741/0.5294, allocations: 6.322 MB / 0.7248 GB, free: 30.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5294, allocations: 9.5 kB / 0.7248 GB, free: 30.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.535, allocations: 1.11 MB / 0.7259 GB, free: 29.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007492/0.5425, allocations: 3.582 MB / 0.7294 GB, free: 29.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.5429, allocations: 425 kB / 0.7298 GB, free: 29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.544, allocations: 0.5366 MB / 0.7303 GB, free: 29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.5629, allocations: 10.28 MB / 0.7404 GB, free: 25.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.563, allocations: 23.61 kB / 0.7404 GB, free: 25.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006903/0.5637, allocations: 246.4 kB / 0.7406 GB, free: 25.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005938/0.5643, allocations: 426.8 kB / 0.741 GB, free: 25.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.5764, allocations: 7.116 MB / 0.748 GB, free: 22.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/0.6062, allocations: 25.32 MB / 0.7727 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.6098, allocations: 2.906 MB / 0.7755 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.612, allocations: 1.934 MB / 0.7774 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.6121, allocations: 21.47 kB / 0.7774 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.6121, allocations: 70.53 kB / 0.7775 GB, free: 476 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=209): time 4.358e-06/0.6121, allocations: 0 / 0.7775 GB, free: 476 kB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.02466/0.6368, allocations: 10.25 MB / 0.7875 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.6368, allocations: 77.41 kB / 0.7876 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.6395, allocations: 1.833 MB / 0.7894 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.6397, allocations: 65.7 kB / 0.7894 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.6416, allocations: 2.471 MB / 0.7919 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007092/0.6423, allocations: 0.7583 MB / 0.7926 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008333/0.6431, allocations: 477.5 kB / 0.7931 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6433, allocations: 305.1 kB / 0.7933 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.6454, allocations: 1.376 MB / 0.7947 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.6481, allocations: 2.102 MB / 0.7967 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005172/0.6533, allocations: 3.767 MB / 0.8004 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.6533, allocations: 8 kB / 0.8004 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008588/0.6619, allocations: 5.011 MB / 0.8053 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.6619, allocations: 12 kB / 0.8053 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.6619, allocations: 24 kB / 0.8054 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.6657, allocations: 1.584 MB / 0.8069 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.6674, allocations: 454.7 kB / 0.8073 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02536/0.6928, allocations: 17.78 MB / 0.8247 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/0.6958, allocations: 147.8 kB / 0.8248 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.6963, allocations: 108 kB / 0.8249 GB, free: 3.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004096/0.7004, allocations: 1.946 MB / 0.8268 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006869/0.7011, allocations: 282.2 kB / 0.8271 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008439/0.7095, allocations: 4.383 MB / 0.8314 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.7095, allocations: 24 kB / 0.8314 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/0.7095, allocations: 19.94 kB / 0.8314 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.7096, allocations: 15.23 kB / 0.8314 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.7261, allocations: 8.344 MB / 0.8396 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7261, allocations: 4.125 kB / 0.8396 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.7272, allocations: 241.4 kB / 0.8398 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.731, allocations: 1.422 MB / 0.8412 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.7312, allocations: 36 kB / 0.8413 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/0.7569, allocations: 17.79 MB / 0.8586 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.7569, allocations: 11.59 kB / 0.8586 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008582/0.7655, allocations: 4.467 MB / 0.863 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.7673, allocations: 0.5527 MB / 0.8635 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004662/0.7677, allocations: 43.95 kB / 0.8636 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.7691, allocations: 121.1 kB / 0.8637 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/0.7696, allocations: 184.9 kB / 0.8639 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.7698, allocations: 60 kB / 0.8639 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001762/0.7716, allocations: 1.168 MB / 0.8651 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.7716, allocations: 0 / 0.8651 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003283/0.7748, allocations: 1.137 MB / 0.8662 GB, free: 8.852 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003639/0.7752, allocations: 160.7 kB / 0.8663 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007542/0.7828, allocations: 4.537 MB / 0.8708 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7828, allocations: 3.172 kB / 0.8708 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.7875, allocations: 2.793 MB / 0.8735 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.791, allocations: 0.8259 MB / 0.8743 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.8077, allocations: 9.523 MB / 0.8836 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/0.8121, allocations: 3.158 MB / 0.8867 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001856/0.8139, allocations: 0.5265 MB / 0.8872 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.8144, allocations: 136.5 kB / 0.8873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.8144, allocations: 0 / 0.8873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.09169/0.9061, allocations: 51.96 MB / 0.9381 GB, free: 360 kB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.831204738467932] Failed to read output from testmodel.py, exit status != 0: 0.9157968983054161 0.92983038 0.41483089500000003 Calling exit ...