Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0007762/0.0007762, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009231/0.001699, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007312/0.0007312, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001624, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09776/1.114, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8672/0.8672, allocations: 155.3 MB / 399.2 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2939/1.161, allocations: 49.12 MB / 448.4 MB, free: 6.008 MB / 426.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-master/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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.31e-05, allocations: 4.422 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005064/0.005087, allocations: 4.229 MB / 453.9 MB, free: 0.543 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.008048, allocations: 1.611 MB / 455.5 MB, free: 14.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.008369, allocations: 31.69 kB / 455.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.008873, allocations: 196.6 kB / 455.7 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.009572, allocations: 415.7 kB / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.01022, allocations: 334.3 kB / 456.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01139, allocations: 1.06 MB / 457.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.01188, allocations: 383.2 kB / 457.9 MB, free: 12.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.01259, allocations: 0.5702 MB / 458.5 MB, free: 11.97 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.01314, allocations: 409.5 kB / 458.9 MB, free: 11.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.01321, allocations: 48 kB / 458.9 MB, free: 11.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.01352, allocations: 135.7 kB / 459.1 MB, free: 11.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.01374, allocations: 240.4 kB / 459.3 MB, free: 11.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.01396, allocations: 199.6 kB / 459.5 MB, free: 10.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.01461, allocations: 0.5497 MB / 460 MB, free: 10.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.01463, allocations: 0 / 460 MB, free: 10.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01463, allocations: 0 / 460 MB, free: 10.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.01465, allocations: 0.625 kB / 460 MB, free: 10.41 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001473/0.01612, allocations: 1.002 MB / 461 MB, free: 9.387 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.01615, allocations: 8.656 kB / 461 MB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.0171, allocations: 318.2 kB / 461.4 MB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.01771, allocations: 442.9 kB / 461.8 MB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.01774, allocations: 41.36 kB / 461.8 MB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.01787, allocations: 52.55 kB / 461.9 MB, free: 8.512 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.01852, allocations: 0.7004 MB / 462.6 MB, free: 7.695 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.01854, allocations: 9.234 kB / 462.6 MB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.01858, allocations: 28.12 kB / 462.6 MB, free: 7.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.01871, allocations: 60.95 kB / 462.7 MB, free: 7.598 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.01901, allocations: 206.2 kB / 462.9 MB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.02149, allocations: 3.032 MB / 465.9 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.02171, allocations: 161.9 kB / 466.1 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.02181, allocations: 65.41 kB / 466.1 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.02184, allocations: 5.125 kB / 466.1 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.02186, allocations: 38.84 kB / 466.2 MB, free: 3.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.02187, allocations: 0.5625 kB / 466.2 MB, free: 3.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.002019/0.02388, allocations: 0.989 MB / 467.2 MB, free: 2.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.02391, allocations: 55.41 kB / 467.2 MB, free: 2.902 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.02444, allocations: 408.5 kB / 467.6 MB, free: 2.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.02446, allocations: 33.7 kB / 467.7 MB, free: 2.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.02461, allocations: 313.3 kB / 468 MB, free: 2.145 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.02469, allocations: 130.9 kB / 468.1 MB, free: 2.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.02481, allocations: 91.62 kB / 468.2 MB, free: 1.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.02492, allocations: 366.6 kB / 468.5 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.02501, allocations: 60.12 kB / 468.6 MB, free: 1.492 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.02519, allocations: 223.4 kB / 468.8 MB, free: 1.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.02553, allocations: 347.6 kB / 469.2 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.02553, allocations: 5.719 kB / 469.2 MB, free: 0.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006019/0.02613, allocations: 427.9 kB / 469.6 MB, free: 372 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02615, allocations: 8 kB / 469.6 MB, free: 364 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.02616, allocations: 5.438 kB / 469.6 MB, free: 360 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.02662, allocations: 152.1 kB / 469.7 MB, free: 204 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.02697, allocations: 120.7 kB / 469.9 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.02884, allocations: 2.635 MB / 472.5 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.02906, allocations: 16 kB / 472.5 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.02909, allocations: 22.31 kB / 472.5 MB, free: 13.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.02924, allocations: 150 kB / 472.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.02931, allocations: 43.95 kB / 472.7 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.02983, allocations: 328.7 kB / 473 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02983, allocations: 4 kB / 473 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.02983, allocations: 5.531 kB / 473 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02984, allocations: 3.938 kB / 473.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/0.03076, allocations: 0.6938 MB / 473.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.03076, allocations: 0 / 473.7 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.03101, allocations: 71.75 kB / 473.8 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.03111, allocations: 59.66 kB / 473.9 MB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.03152, allocations: 149.1 kB / 474 MB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.03154, allocations: 8 kB / 474 MB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.03345, allocations: 2.643 MB / 476.7 MB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.03345, allocations: 5.234 kB / 476.7 MB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.03406, allocations: 0.5257 MB / 477.2 MB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.03412, allocations: 8.844 kB / 477.2 MB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.03426, allocations: 4 kB / 477.2 MB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.03431, allocations: 41.97 kB / 477.3 MB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.03432, allocations: 8.125 kB / 477.3 MB, free: 8.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.03443, allocations: 164.4 kB / 477.4 MB, free: 8.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03443, allocations: 3.938 kB / 477.4 MB, free: 8.039 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.03477, allocations: 156 kB / 477.6 MB, free: 7.887 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.03488, allocations: 94.81 kB / 477.7 MB, free: 7.789 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.03539, allocations: 0.5116 MB / 478.2 MB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.03541, allocations: 21.16 kB / 478.2 MB, free: 7.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.03567, allocations: 400.8 kB / 478.6 MB, free: 6.816 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.0361, allocations: 201.1 kB / 478.8 MB, free: 6.637 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.04003, allocations: 1.076 MB / 479.9 MB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.04022, allocations: 174.3 kB / 480 MB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.04046, allocations: 63.5 kB / 480.1 MB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.04073, allocations: 173.3 kB / 480.3 MB, free: 5.105 MB / 458.7 MB Notification: Performance of SimCode: time 3.166e-06/0.04074, allocations: 1.031 kB / 480.3 MB, free: 5.105 MB / 458.7 MB Notification: Performance of Templates: time 0.01338/0.05411, allocations: 8.88 MB / 489.2 MB, free: 12.72 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.721808164380491]