Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001686/0.001686, allocations: 78.64 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.001803/0.001803, allocations: 164.6 kB / 22.45 MB, free: 5.363 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.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.188/1.188, 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6188 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.648e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03181/0.03183, allocations: 25.02 MB / 0.6432 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.04732, allocations: 7.977 MB / 0.651 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/0.05069, allocations: 154.8 kB / 0.6511 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.008172/0.05886, allocations: 2.767 MB / 0.6538 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.06418, allocations: 1.682 MB / 0.6555 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.06957, allocations: 1.699 MB / 0.6572 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008581/0.07815, allocations: 6.139 MB / 0.6631 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006704/0.08486, allocations: 3.754 MB / 0.6668 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007143/0.092, allocations: 3.711 MB / 0.6704 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/0.09721, allocations: 2.615 MB / 0.673 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.09861, allocations: 0.5078 MB / 0.6735 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.1017, allocations: 1.217 MB / 0.6747 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002838/0.1046, allocations: 2.116 MB / 0.6767 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002727/0.1073, allocations: 1.653 MB / 0.6784 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009803/0.1171, allocations: 8.216 MB / 0.6864 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1171, allocations: 0 / 0.6864 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1171, allocations: 4 kB / 0.6864 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002296/0.1174, allocations: 0 / 0.6864 GB, free: 15.01 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01026/0.1276, allocations: 4.249 MB / 0.6905 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1277, allocations: 11.97 kB / 0.6905 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.1319, allocations: 0.8336 MB / 0.6914 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005143/0.1371, allocations: 2.533 MB / 0.6938 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.1373, allocations: 271.7 kB / 0.6941 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007854/0.1381, allocations: 372.8 kB / 0.6944 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3635/0.5016, allocations: 6.453 MB / 0.7007 GB, free: 81.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.5018, allocations: 21.03 kB / 0.7008 GB, free: 81.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009615/0.5028, allocations: 158.3 kB / 0.7009 GB, free: 81.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007184/0.5035, allocations: 283.2 kB / 0.7012 GB, free: 81.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.5145, allocations: 4.514 MB / 0.7056 GB, free: 80.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.539, allocations: 17.37 MB / 0.7226 GB, free: 68.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.5407, allocations: 1.048 MB / 0.7236 GB, free: 68.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5424, allocations: 0.9601 MB / 0.7245 GB, free: 67.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.5425, allocations: 12.25 kB / 0.7245 GB, free: 67.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.5425, allocations: 55.27 kB / 0.7246 GB, free: 67.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.5425, allocations: 0 / 0.7246 GB, free: 67.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02215/0.5646, allocations: 9.082 MB / 0.7335 GB, free: 64.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5647, allocations: 65.53 kB / 0.7335 GB, free: 64.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.5666, allocations: 1.398 MB / 0.7349 GB, free: 63.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.5668, allocations: 51.61 kB / 0.7349 GB, free: 63.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008351/0.5676, allocations: 1.726 MB / 0.7366 GB, free: 62.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.5679, allocations: 0.489 MB / 0.7371 GB, free: 62.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/0.5684, allocations: 324.7 kB / 0.7374 GB, free: 62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.5685, allocations: 306.2 kB / 0.7377 GB, free: 61.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.5696, allocations: 0.9172 MB / 0.7386 GB, free: 61.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.571, allocations: 1.46 MB / 0.74 GB, free: 60.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.5738, allocations: 2.557 MB / 0.7425 GB, free: 58.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.5738, allocations: 4.812 kB / 0.7425 GB, free: 58.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005711/0.5795, allocations: 3.263 MB / 0.7457 GB, free: 56.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.5796, allocations: 17.88 kB / 0.7457 GB, free: 56.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.5796, allocations: 19.75 kB / 0.7457 GB, free: 56.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.5817, allocations: 0.7397 MB / 0.7465 GB, free: 56.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.5831, allocations: 383.2 kB / 0.7468 GB, free: 55.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.5944, allocations: 15.81 MB / 0.7623 GB, free: 40.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5962, allocations: 95.91 kB / 0.7624 GB, free: 40.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.5964, allocations: 76 kB / 0.7624 GB, free: 40.26 MB / 0.6075 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00183/0.5982, allocations: 1.315 MB / 0.7637 GB, free: 38.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.5985, allocations: 194.8 kB / 0.7639 GB, free: 38.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/0.6027, allocations: 2.765 MB / 0.7666 GB, free: 35.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6027, allocations: 12 kB / 0.7666 GB, free: 35.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.6027, allocations: 8 kB / 0.7666 GB, free: 35.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.6027, allocations: 3.984 kB / 0.7666 GB, free: 35.92 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009855/0.6126, allocations: 5.334 MB / 0.7718 GB, free: 30.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6126, allocations: 12.59 kB / 0.7718 GB, free: 30.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.6137, allocations: 231.6 kB / 0.7721 GB, free: 30.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.6154, allocations: 0.6674 MB / 0.7727 GB, free: 29.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/0.6155, allocations: 31.98 kB / 0.7728 GB, free: 29.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.6267, allocations: 15.56 MB / 0.7879 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6267, allocations: 4.125 kB / 0.7879 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005374/0.6321, allocations: 3.977 MB / 0.7918 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009975/0.6331, allocations: 370.7 kB / 0.7922 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.6333, allocations: 39.94 kB / 0.7922 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/0.6341, allocations: 83.89 kB / 0.7923 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.6345, allocations: 116.7 kB / 0.7924 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.6345, allocations: 43.98 kB / 0.7925 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009948/0.6355, allocations: 0.901 MB / 0.7933 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6355, allocations: 0 / 0.7933 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002464/0.638, allocations: 0.6836 MB / 0.794 GB, free: 6.719 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.6382, allocations: 154 kB / 0.7942 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004202/0.6424, allocations: 3.374 MB / 0.7974 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.6424, allocations: 0 / 0.7974 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.6449, allocations: 2.241 MB / 0.7996 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.6475, allocations: 0.6446 MB / 0.8003 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.6604, allocations: 6.483 MB / 0.8066 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/0.6634, allocations: 2.116 MB / 0.8087 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001717/0.6652, allocations: 480.4 kB / 0.8091 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.6655, allocations: 108.5 kB / 0.8092 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.6655, allocations: 0 / 0.8092 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of Templates: time 0.06655/0.732, allocations: 33.75 MB / 0.8422 GB, free: 5.805 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.144594905897975] Failed to read output from testmodel.py, exit status != 0: 0.7415826953947544 0.756750474 0.6362416820000001 Calling exit ...