Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001017/0.001017, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002373, 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.001028/0.001028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002296, 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 0.9775/0.9775, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09821/1.076, allocations: 53.66 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.9314/0.9314, allocations: 155.3 MB / 399.3 MB, free: 15.93 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.3099/1.241, allocations: 49.13 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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.151e-05, allocations: 2.812 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006668/0.006689, allocations: 4.859 MB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.01046, allocations: 1.777 MB / 456.3 MB, free: 14.15 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.01088, allocations: 36.34 kB / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.01157, allocations: 239.1 kB / 456.6 MB, free: 13.88 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009729/0.01254, allocations: 0.501 MB / 457.1 MB, free: 13.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.01345, allocations: 378.5 kB / 457.5 MB, free: 13.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.01496, allocations: 1.363 MB / 458.8 MB, free: 11.64 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.01577, allocations: 0.5314 MB / 459.4 MB, free: 11.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.01685, allocations: 0.7413 MB / 460.1 MB, free: 10.37 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.01752, allocations: 0.5206 MB / 460.6 MB, free: 9.848 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.0176, allocations: 65.31 kB / 460.7 MB, free: 9.785 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.01792, allocations: 147.7 kB / 460.8 MB, free: 9.641 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01812, allocations: 291.2 kB / 461.1 MB, free: 9.355 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.01833, allocations: 260 kB / 461.4 MB, free: 9.102 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.01899, allocations: 0.6968 MB / 462.1 MB, free: 8.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.019, allocations: 5.312 kB / 462.1 MB, free: 8.398 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.019, allocations: 0 / 462.1 MB, free: 8.398 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.01902, allocations: 0 / 462.1 MB, free: 8.398 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001223/0.02025, allocations: 1.213 MB / 463.3 MB, free: 7.164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.02028, allocations: 9.469 kB / 463.3 MB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.02105, allocations: 350.2 kB / 463.6 MB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.0216, allocations: 0.4906 MB / 464.1 MB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.02163, allocations: 54.23 kB / 464.2 MB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.0217, allocations: 68.36 kB / 464.2 MB, free: 6.172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.02237, allocations: 0.953 MB / 465.2 MB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.02239, allocations: 4.688 kB / 465.2 MB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.02243, allocations: 33.17 kB / 465.2 MB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.02254, allocations: 89.19 kB / 465.3 MB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.02284, allocations: 253.4 kB / 465.6 MB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.02523, allocations: 3.929 MB / 469.5 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.02562, allocations: 278.1 kB / 469.8 MB, free: 336 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.02576, allocations: 99.89 kB / 469.9 MB, free: 236 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.02578, allocations: 9.406 kB / 469.9 MB, free: 228 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.02581, allocations: 39.06 kB / 469.9 MB, free: 180 kB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 1.543e-06/0.02581, allocations: 3.938 kB / 469.9 MB, free: 176 kB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001349/0.02716, allocations: 0.7986 MB / 470.7 MB, free: 15.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.02718, allocations: 62.53 kB / 470.8 MB, free: 15.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.02744, allocations: 470.9 kB / 471.2 MB, free: 14.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.02746, allocations: 37.7 kB / 471.3 MB, free: 14.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.0276, allocations: 376.8 kB / 471.6 MB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.02769, allocations: 178.4 kB / 471.8 MB, free: 14.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02781, allocations: 122.5 kB / 471.9 MB, free: 14.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.02791, allocations: 378.6 kB / 472.3 MB, free: 13.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.02799, allocations: 70.81 kB / 472.4 MB, free: 13.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.02818, allocations: 304.9 kB / 472.7 MB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.02852, allocations: 449.8 kB / 473.1 MB, free: 12.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02852, allocations: 4 kB / 473.1 MB, free: 12.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006409/0.02916, allocations: 0.5598 MB / 473.7 MB, free: 12.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.02918, allocations: 8 kB / 473.7 MB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.02919, allocations: 8 kB / 473.7 MB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006885/0.02988, allocations: 281.8 kB / 474 MB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.03014, allocations: 132.8 kB / 474.1 MB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.03329, allocations: 5.305 MB / 479.4 MB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.03349, allocations: 25.17 kB / 479.4 MB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.03351, allocations: 24 kB / 479.4 MB, free: 6.016 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0001529/0.03367, allocations: 158 kB / 479.6 MB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.03373, allocations: 56.12 kB / 479.7 MB, free: 5.797 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.03423, allocations: 462.6 kB / 480.1 MB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03423, allocations: 5 kB / 480.1 MB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.03424, allocations: 8 kB / 480.1 MB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.03424, allocations: 0.625 kB / 480.1 MB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.03514, allocations: 0.8811 MB / 481 MB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03514, allocations: 0 / 481 MB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.03527, allocations: 55.92 kB / 481.1 MB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.03538, allocations: 85.17 kB / 481.1 MB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000552/0.03593, allocations: 279.7 kB / 481.4 MB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.03595, allocations: 4 kB / 481.4 MB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.03876, allocations: 5.305 MB / 486.7 MB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.03877, allocations: 0 / 486.7 MB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.03927, allocations: 0.5838 MB / 487.3 MB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.03932, allocations: 12.19 kB / 487.3 MB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.03946, allocations: 12.94 kB / 487.3 MB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.03954, allocations: 55.75 kB / 487.4 MB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.03956, allocations: 13.53 kB / 487.4 MB, free: 13.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.03968, allocations: 200.4 kB / 487.6 MB, free: 13.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03968, allocations: 0 / 487.6 MB, free: 13.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.04012, allocations: 231.9 kB / 487.8 MB, free: 13.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.04023, allocations: 95.34 kB / 487.9 MB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.04125, allocations: 0.8841 MB / 488.8 MB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/0.04127, allocations: 16.48 kB / 488.8 MB, free: 12.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.04176, allocations: 0.7072 MB / 489.5 MB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.04225, allocations: 261.1 kB / 489.8 MB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.04756, allocations: 1.304 MB / 491.1 MB, free: 9.734 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.04771, allocations: 207.3 kB / 491.3 MB, free: 9.512 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.04792, allocations: 77.86 kB / 491.4 MB, free: 9.453 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.0482, allocations: 213.2 kB / 491.6 MB, free: 9.242 MB / 474.7 MB Notification: Performance of SimCode: time 1.163e-06/0.0482, allocations: 0 / 491.6 MB, free: 9.242 MB / 474.7 MB Notification: Performance of Templates: time 0.01534/0.06355, allocations: 12.47 MB / 0.4922 GB, free: 13.27 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9922040663659573]