Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.000761/0.000761, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009436/0.001705, allocations: 440 kB / 10.41 MB, free: 284 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.0006726/0.0006726, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001724, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9773/0.9773, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09611/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8375/0.8375, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2734/1.111, allocations: 49.13 MB / 448.6 MB, free: 5.922 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.631e-05, allocations: 12.88 kB / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006316/0.006343, allocations: 4.156 MB / 454.1 MB, free: 0.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.009296, allocations: 1.59 MB / 455.7 MB, free: 14.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.00955, allocations: 31.69 kB / 455.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.01003, allocations: 192.3 kB / 455.9 MB, free: 14.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.01069, allocations: 412.4 kB / 456.3 MB, free: 14.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.0113, allocations: 318.8 kB / 456.6 MB, free: 13.99 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.01203, allocations: 1.05 MB / 457.7 MB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.01243, allocations: 379.2 kB / 458.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.01299, allocations: 0.574 MB / 458.6 MB, free: 11.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.01342, allocations: 404.4 kB / 459 MB, free: 11.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.01348, allocations: 48 kB / 459.1 MB, free: 11.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.01368, allocations: 136.7 kB / 459.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.01383, allocations: 235.4 kB / 459.4 MB, free: 11.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.01399, allocations: 196.5 kB / 459.6 MB, free: 10.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.01447, allocations: 0.5527 MB / 460.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.01448, allocations: 0 / 460.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01448, allocations: 0.625 kB / 460.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.0145, allocations: 0.625 kB / 460.2 MB, free: 10.43 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.001008/0.0155, allocations: 0.994 MB / 461.2 MB, free: 9.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.01553, allocations: 12.03 kB / 461.2 MB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.01625, allocations: 306.3 kB / 461.5 MB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.01675, allocations: 442.9 kB / 461.9 MB, free: 8.637 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.01678, allocations: 37.36 kB / 462 MB, free: 8.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.01688, allocations: 58.05 kB / 462 MB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.0179, allocations: 0.6927 MB / 462.7 MB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.01792, allocations: 9.188 kB / 462.7 MB, free: 7.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.01796, allocations: 28.11 kB / 462.7 MB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.01809, allocations: 60.95 kB / 462.8 MB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.01837, allocations: 202.2 kB / 463 MB, free: 7.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.02103, allocations: 3.032 MB / 466 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.02125, allocations: 160.2 kB / 466.2 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.02133, allocations: 69.39 kB / 466.3 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.02136, allocations: 9.031 kB / 466.3 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.02139, allocations: 38.83 kB / 466.3 MB, free: 4.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.0214, allocations: 0.5938 kB / 466.3 MB, free: 4.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.00259/0.02399, allocations: 1.011 MB / 467.3 MB, free: 2.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.02402, allocations: 55.41 kB / 467.4 MB, free: 2.922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.02436, allocations: 399 kB / 467.8 MB, free: 2.523 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.02439, allocations: 31.17 kB / 467.8 MB, free: 2.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.02456, allocations: 313.4 kB / 468.1 MB, free: 2.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.02466, allocations: 130.8 kB / 468.2 MB, free: 2.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.0248, allocations: 94.25 kB / 468.3 MB, free: 1.945 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.02495, allocations: 368 kB / 468.7 MB, free: 1.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.02506, allocations: 56.12 kB / 468.7 MB, free: 1.523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.02529, allocations: 231.3 kB / 469 MB, free: 1.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.02594, allocations: 365.2 kB / 469.3 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.02595, allocations: 1.781 kB / 469.3 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007626/0.02671, allocations: 419.9 kB / 469.7 MB, free: 392 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.02673, allocations: 8 kB / 469.7 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.02674, allocations: 9.469 kB / 469.7 MB, free: 376 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.02737, allocations: 161.1 kB / 469.9 MB, free: 212 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.02782, allocations: 116.7 kB / 470 MB, free: 96 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.03315, allocations: 2.643 MB / 472.7 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.03341, allocations: 16.17 kB / 472.7 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.03343, allocations: 24.62 kB / 472.7 MB, free: 13.22 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.0001726/0.0336, allocations: 146 kB / 472.8 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.03365, allocations: 43.95 kB / 472.9 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.03419, allocations: 324.6 kB / 473.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.03419, allocations: 5.828 kB / 473.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0342, allocations: 4 kB / 473.2 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.03421, allocations: 9.453 kB / 473.2 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.03535, allocations: 0.686 MB / 473.9 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.03535, allocations: 0 / 473.9 MB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.03563, allocations: 73.08 kB / 474 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.03577, allocations: 63.64 kB / 474 MB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.03625, allocations: 145.7 kB / 474.2 MB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.03628, allocations: 11.94 kB / 474.2 MB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.03827, allocations: 2.634 MB / 476.8 MB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.03828, allocations: 3.938 kB / 476.8 MB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.03899, allocations: 0.5269 MB / 477.4 MB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.03905, allocations: 11.98 kB / 477.4 MB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.03924, allocations: 8 kB / 477.4 MB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.03932, allocations: 30.16 kB / 477.4 MB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.03934, allocations: 8 kB / 477.4 MB, free: 8.219 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.03951, allocations: 166.8 kB / 477.6 MB, free: 8.055 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03951, allocations: 0 / 477.6 MB, free: 8.055 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.04013, allocations: 156 kB / 477.7 MB, free: 7.902 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.0001466/0.04028, allocations: 87.39 kB / 477.8 MB, free: 7.812 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007425/0.04102, allocations: 0.5206 MB / 478.3 MB, free: 7.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.357e-05/0.04104, allocations: 21.17 kB / 478.3 MB, free: 7.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.0415, allocations: 413.8 kB / 478.8 MB, free: 6.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.04267, allocations: 1.595 MB / 480.3 MB, free: 4.918 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.04855, allocations: 1.082 MB / 481.4 MB, free: 3.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.04871, allocations: 170.3 kB / 481.6 MB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.04896, allocations: 59.84 kB / 481.7 MB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.04928, allocations: 177.9 kB / 481.8 MB, free: 3.391 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04928, allocations: 0 / 481.8 MB, free: 3.391 MB / 458.7 MB Notification: Performance of Templates: time 0.0153/0.06458, allocations: 8.744 MB / 490.6 MB, free: 11.11 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7837775498628616]