Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001076/0.001076, allocations: 72.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008938/0.0008938, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.906/0.906, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7187/0.7187, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 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 179] 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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009688/0.0009688, allocations: 67.91 kB / 0.6195 GB, free: 12.05 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4463, allocations: 102 MB / 0.7191 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.0048/0.4511, allocations: 5.231 MB / 0.7242 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.4541, allocations: 2.597 MB / 0.7267 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.4544, allocations: 27.75 kB / 0.7268 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.4555, allocations: 0.6844 MB / 0.7274 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.4562, allocations: 421.5 kB / 0.7278 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.4569, allocations: 402.5 kB / 0.7282 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007592/0.4577, allocations: 0.9555 MB / 0.7292 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.4581, allocations: 374.5 kB / 0.7295 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.4591, allocations: 0.5335 MB / 0.73 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.4595, allocations: 406.3 kB / 0.7304 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.4596, allocations: 48 kB / 0.7305 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.4601, allocations: 331.1 kB / 0.7308 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.4603, allocations: 251.2 kB / 0.731 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.4605, allocations: 290.7 kB / 0.7313 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.4615, allocations: 1.043 MB / 0.7323 GB, free: 152 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4615, allocations: 0 / 0.7323 GB, free: 152 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4615, allocations: 0 / 0.7323 GB, free: 152 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.4615, allocations: 0 / 0.7323 GB, free: 152 kB / 0.6042 GB 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.001258/0.4628, allocations: 0.9211 MB / 0.7332 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4628, allocations: 11.97 kB / 0.7332 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.4637, allocations: 200.2 kB / 0.7334 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.4643, allocations: 451.7 kB / 0.7339 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.4643, allocations: 33.38 kB / 0.7339 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.4645, allocations: 64.47 kB / 0.734 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.4653, allocations: 0.9824 MB / 0.7349 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.4654, allocations: 4 kB / 0.7349 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4654, allocations: 28 kB / 0.7349 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.4656, allocations: 64.89 kB / 0.735 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.4662, allocations: 0.5697 MB / 0.7356 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.4691, allocations: 3.476 MB / 0.739 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.4695, allocations: 283.2 kB / 0.7392 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.4697, allocations: 213.2 kB / 0.7394 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4697, allocations: 4.281 kB / 0.7394 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4697, allocations: 34.84 kB / 0.7395 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/0.4697, allocations: 4 kB / 0.7395 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003415/0.4732, allocations: 2.337 MB / 0.7418 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4732, allocations: 55.41 kB / 0.7418 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.4735, allocations: 429.7 kB / 0.7422 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.4736, allocations: 33.7 kB / 0.7422 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4737, allocations: 352.4 kB / 0.7426 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.4738, allocations: 154.7 kB / 0.7427 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4739, allocations: 106.3 kB / 0.7428 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4741, allocations: 362.7 kB / 0.7432 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4743, allocations: 237.2 kB / 0.7434 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.4749, allocations: 414.6 kB / 0.7438 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.4755, allocations: 0.674 MB / 0.7445 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4755, allocations: 0 / 0.7445 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00101/0.4765, allocations: 0.9099 MB / 0.7453 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4765, allocations: 12.05 kB / 0.7454 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4765, allocations: 8 kB / 0.7454 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.477, allocations: 222.4 kB / 0.7456 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.4773, allocations: 119.8 kB / 0.7457 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.4806, allocations: 4.93 MB / 0.7505 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.4809, allocations: 27.97 kB / 0.7505 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.4809, allocations: 28 kB / 0.7506 GB, free: 12.57 MB / 0.6355 GB 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005279/0.4814, allocations: 232.8 kB / 0.7508 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4815, allocations: 51.67 kB / 0.7508 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.4824, allocations: 0.7616 MB / 0.7516 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4824, allocations: 4 kB / 0.7516 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4824, allocations: 4 kB / 0.7516 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4824, allocations: 7.922 kB / 0.7516 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.4839, allocations: 1.326 MB / 0.7529 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4839, allocations: 0 / 0.7529 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.4841, allocations: 80.09 kB / 0.753 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.4844, allocations: 202.4 kB / 0.7532 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.4845, allocations: 12 kB / 0.7532 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.4874, allocations: 4.868 MB / 0.7579 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4875, allocations: 4.062 kB / 0.7579 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4885, allocations: 1.135 MB / 0.759 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4887, allocations: 87.66 kB / 0.7591 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.4887, allocations: 12 kB / 0.7591 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4889, allocations: 28.03 kB / 0.7592 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4889, allocations: 43.88 kB / 0.7592 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.489, allocations: 11.98 kB / 0.7592 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000212/0.4892, allocations: 287.1 kB / 0.7595 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4892, allocations: 3.938 kB / 0.7595 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005046/0.4897, allocations: 164 kB / 0.7596 GB, free: 2.816 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.000129/0.4898, allocations: 107.2 kB / 0.7597 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.4908, allocations: 0.9767 MB / 0.7607 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4908, allocations: 0 / 0.7607 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.4913, allocations: 0.6603 MB / 0.7613 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.4919, allocations: 175.1 kB / 0.7615 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4933, allocations: 1.333 MB / 0.7628 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4936, allocations: 342 kB / 0.7631 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.4937, allocations: 44.48 kB / 0.7632 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.4937, allocations: 0 / 0.7632 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.01219/0.5059, allocations: 14.93 MB / 0.7778 GB, free: 152 kB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.162099856883287] Failed to read output from testmodel.py, exit status != 0: 0.5123834768310189 0.521914054 0.057882989 Calling exit ...