Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001275/0.001275, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001452/0.001452, allocations: 167.2 kB / 22.45 MB, free: 4.984 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.382/1.382, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 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 1.173/1.173, allocations: 154.7 MB / 413.9 MB, free: 5.16 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6188 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.388e-05, allocations: 6.281 kB / 0.6188 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04017/0.04019, allocations: 31.05 MB / 0.6491 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.0652, allocations: 14.29 MB / 0.663 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.06869, allocations: 202.4 kB / 0.6632 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.0791, allocations: 3.665 MB / 0.6668 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009487/0.08859, allocations: 2.992 MB / 0.6697 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00667/0.09526, allocations: 2.354 MB / 0.672 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01404/0.1093, allocations: 8.824 MB / 0.6807 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.1198, allocations: 5.499 MB / 0.686 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.1317, allocations: 5.536 MB / 0.6914 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007458/0.1392, allocations: 3.71 MB / 0.6951 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004378/0.1436, allocations: 0.7148 MB / 0.6957 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007211/0.1508, allocations: 1.63 MB / 0.6973 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006516/0.1573, allocations: 2.918 MB / 0.7002 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.3411/0.4984, allocations: 2.365 MB / 0.7025 GB, free: 30.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.5168, allocations: 11.4 MB / 0.7136 GB, free: 30.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5168, allocations: 0 / 0.7136 GB, free: 30.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5168, allocations: 0 / 0.7136 GB, free: 30.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004527/0.5173, allocations: 0 / 0.7136 GB, free: 30.32 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02209/0.5394, allocations: 6.051 MB / 0.7195 GB, free: 28.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5394, allocations: 10.44 kB / 0.7196 GB, free: 28.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007489/0.5469, allocations: 1.177 MB / 0.7207 GB, free: 27.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008114/0.555, allocations: 3.473 MB / 0.7241 GB, free: 26.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.5553, allocations: 374.5 kB / 0.7245 GB, free: 26.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.5565, allocations: 499.4 kB / 0.7249 GB, free: 26.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.5726, allocations: 8.863 MB / 0.7336 GB, free: 25.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.5728, allocations: 26.28 kB / 0.7336 GB, free: 25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006135/0.5734, allocations: 223.6 kB / 0.7338 GB, free: 25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001083/0.5745, allocations: 440 kB / 0.7342 GB, free: 24.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.5861, allocations: 6.07 MB / 0.7402 GB, free: 23.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/0.6197, allocations: 21.2 MB / 0.7609 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.6221, allocations: 1.906 MB / 0.7627 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.6242, allocations: 1.753 MB / 0.7644 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.6243, allocations: 16.41 kB / 0.7645 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.6244, allocations: 59.98 kB / 0.7645 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=171): time 4.268e-06/0.6244, allocations: 0 / 0.7645 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=276): time 0.1386/0.7629, allocations: 38.68 MB / 0.8023 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.763, allocations: 77.58 kB / 0.8024 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.7665, allocations: 2.039 MB / 0.8044 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000535/0.7671, allocations: 73.7 kB / 0.8044 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.7689, allocations: 2.349 MB / 0.8067 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.7701, allocations: 0.9843 MB / 0.8077 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.7711, allocations: 0.5025 MB / 0.8082 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7712, allocations: 301.1 kB / 0.8085 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/0.7743, allocations: 1.981 MB / 0.8104 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.7778, allocations: 2.601 MB / 0.8129 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007365/0.7852, allocations: 4.931 MB / 0.8177 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.7852, allocations: 4 kB / 0.8177 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01554/0.8008, allocations: 7.626 MB / 0.8252 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.8008, allocations: 12 kB / 0.8252 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.8008, allocations: 16 kB / 0.8252 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.8106, allocations: 3.208 MB / 0.8284 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.8125, allocations: 397.3 kB / 0.8287 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04809/0.8606, allocations: 32.55 MB / 0.8605 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.8642, allocations: 159.8 kB / 0.8607 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/0.8645, allocations: 108 kB / 0.8608 GB, free: 12.33 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003828/0.8683, allocations: 1.804 MB / 0.8625 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/0.8691, allocations: 322.1 kB / 0.8628 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.8838, allocations: 7.23 MB / 0.8699 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.8838, allocations: 28 kB / 0.8699 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/0.8838, allocations: 28 kB / 0.87 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/0.8839, allocations: 15.94 kB / 0.87 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/0.9074, allocations: 11.39 MB / 0.8811 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.9074, allocations: 8.844 kB / 0.8811 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009543/0.9083, allocations: 230.1 kB / 0.8813 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008405/0.9168, allocations: 2.852 MB / 0.8841 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/0.917, allocations: 52 kB / 0.8842 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0454/0.9624, allocations: 31.35 MB / 0.9148 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.9624, allocations: 11.38 kB / 0.9148 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.9766, allocations: 6.741 MB / 0.9214 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/0.9789, allocations: 0.6931 MB / 0.9221 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/0.9794, allocations: 63.92 kB / 0.9221 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.9811, allocations: 168.2 kB / 0.9223 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009642/0.9821, allocations: 268 kB / 0.9225 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.9823, allocations: 72 kB / 0.9226 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002169/0.9844, allocations: 1.338 MB / 0.9239 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.9844, allocations: 3.172 kB / 0.9239 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004497/0.9889, allocations: 1.364 MB / 0.9252 GB, free: 9.773 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004021/0.9893, allocations: 173.8 kB / 0.9254 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.001, allocations: 6.552 MB / 0.9318 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.001, allocations: 7.938 kB / 0.9318 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008118/1.009, allocations: 4.239 MB / 0.9359 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/1.015, allocations: 1.011 MB / 0.9369 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.035, allocations: 10.32 MB / 0.947 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004742/1.04, allocations: 3.107 MB / 0.9501 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002166/1.042, allocations: 0.5222 MB / 0.9506 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/1.043, allocations: 153 kB / 0.9507 GB, free: 15.61 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/1.043, allocations: 4 kB / 0.9507 GB, free: 15.61 MB / 0.795 GB Notification: Performance of Templates: time 0.4651/1.508, allocations: 75.72 MB / 1.025 GB, free: 294.7 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.103323301300406] Failed to read output from testmodel.py, exit status != 0: 1.5174539294093847 1.529461864 1.009684898 Calling exit ...