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.0008899/0.0008899, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001288/0.001288, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9621/0.9621, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.796/0.796, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.172e-06/1.172e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.428e-05, allocations: 4.281 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00426/0.004274, allocations: 4.027 MB / 484.4 MB, free: 2.574 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.007019, allocations: 1.565 MB / 486 MB, free: 1.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.007421, allocations: 27.75 kB / 486 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.008088, allocations: 162.8 kB / 486.1 MB, free: 0.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007857/0.008873, allocations: 369.6 kB / 486.5 MB, free: 484 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.00957, allocations: 329.6 kB / 486.8 MB, free: 156 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.01063, allocations: 0.9863 MB / 487.8 MB, free: 15.16 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.01122, allocations: 411.1 kB / 488.2 MB, free: 14.75 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.01187, allocations: 0.5157 MB / 488.7 MB, free: 14.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.01241, allocations: 374.1 kB / 489.1 MB, free: 13.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.01248, allocations: 48 kB / 489.1 MB, free: 13.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.01275, allocations: 136.9 kB / 489.3 MB, free: 13.69 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.01298, allocations: 259.3 kB / 489.5 MB, free: 13.44 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.01322, allocations: 239.4 kB / 489.8 MB, free: 13.2 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.01408, allocations: 0.5883 MB / 490.4 MB, free: 12.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01408, allocations: 0 / 490.4 MB, free: 12.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01408, allocations: 0.875 kB / 490.4 MB, free: 12.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.01409, allocations: 0 / 490.4 MB, free: 12.61 MB / 458.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.001003/0.01509, allocations: 0.8479 MB / 491.2 MB, free: 11.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.01513, allocations: 12.69 kB / 491.2 MB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.01601, allocations: 225 kB / 491.4 MB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.01659, allocations: 437.5 kB / 491.9 MB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.01662, allocations: 42.8 kB / 491.9 MB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.01674, allocations: 60.53 kB / 492 MB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.01736, allocations: 0.6966 MB / 492.7 MB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.01738, allocations: 8.125 kB / 492.7 MB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.01742, allocations: 25.16 kB / 492.7 MB, free: 10.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.01754, allocations: 60.95 kB / 492.7 MB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.01783, allocations: 209.7 kB / 493 MB, free: 9.859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.02018, allocations: 3.023 MB / 496 MB, free: 6.734 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.02039, allocations: 162 kB / 496.1 MB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.02049, allocations: 69.98 kB / 496.2 MB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.02051, allocations: 9.719 kB / 496.2 MB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.02053, allocations: 34.84 kB / 496.2 MB, free: 6.445 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.02054, allocations: 0 / 496.2 MB, free: 6.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.00489/0.02543, allocations: 0.9875 MB / 497.2 MB, free: 5.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.02545, allocations: 56.19 kB / 497.3 MB, free: 5.367 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.02572, allocations: 399 kB / 497.7 MB, free: 4.961 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.02574, allocations: 30.77 kB / 497.7 MB, free: 4.926 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.02602, allocations: 317.3 kB / 498 MB, free: 4.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.02611, allocations: 126.9 kB / 498.1 MB, free: 4.488 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.02623, allocations: 91.58 kB / 498.2 MB, free: 4.391 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.02633, allocations: 370.6 kB / 498.6 MB, free: 4.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.02643, allocations: 56.12 kB / 498.6 MB, free: 3.965 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.02661, allocations: 231.3 kB / 498.9 MB, free: 3.668 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.02694, allocations: 339.9 kB / 499.2 MB, free: 3.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02694, allocations: 4.969 kB / 499.2 MB, free: 3.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006028/0.02755, allocations: 424.5 kB / 499.6 MB, free: 2.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.02756, allocations: 8 kB / 499.6 MB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02757, allocations: 8.719 kB / 499.6 MB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.02805, allocations: 149.2 kB / 499.8 MB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.02832, allocations: 101.6 kB / 499.9 MB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.03005, allocations: 2.645 MB / 0.4908 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.03026, allocations: 19.03 kB / 0.4908 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.03028, allocations: 20 kB / 0.4908 GB, free: 15.71 MB / 474.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.0001331/0.03042, allocations: 145.8 kB / 0.4909 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.03049, allocations: 47.95 kB / 0.491 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.03097, allocations: 320.3 kB / 0.4913 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.03097, allocations: 4 kB / 0.4913 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.03097, allocations: 5.062 kB / 0.4913 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.03098, allocations: 0 / 0.4913 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.03186, allocations: 0.6904 MB / 0.492 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.03187, allocations: 1.312 kB / 0.492 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.03205, allocations: 51.92 kB / 0.492 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.03244, allocations: 148.8 kB / 0.4922 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.03246, allocations: 14.38 kB / 0.4922 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.03425, allocations: 2.637 MB / 0.4947 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.03425, allocations: 7.875 kB / 0.4948 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.03489, allocations: 0.5321 MB / 0.4953 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.03499, allocations: 67.59 kB / 0.4953 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.03504, allocations: 11.98 kB / 0.4953 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.0352, allocations: 8 kB / 0.4954 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.03526, allocations: 23.95 kB / 0.4954 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.03528, allocations: 12 kB / 0.4954 GB, free: 10.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.03541, allocations: 160.7 kB / 0.4955 GB, free: 10.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03541, allocations: 1.25 kB / 0.4955 GB, free: 10.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.03588, allocations: 152 kB / 0.4957 GB, free: 10.41 MB / 474.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.0001117/0.036, allocations: 93.45 kB / 0.4958 GB, free: 10.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.03659, allocations: 0.517 MB / 0.4963 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.0366, allocations: 4 kB / 0.4963 GB, free: 9.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.03695, allocations: 385.2 kB / 0.4967 GB, free: 9.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.03747, allocations: 156.6 kB / 0.4968 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.0389, allocations: 1.068 MB / 0.4978 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.03903, allocations: 174.2 kB / 0.498 GB, free: 7.945 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.03921, allocations: 62.89 kB / 0.4981 GB, free: 7.895 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.03949, allocations: 181.2 kB / 0.4982 GB, free: 7.715 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03949, allocations: 2.625 kB / 0.4982 GB, free: 7.715 MB / 474.7 MB Notification: Performance of Templates: time 0.01207/0.05157, allocations: 8.513 MB / 0.5066 GB, free: 15.61 MB / 490.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.784451212733984]