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.0008263/0.0008263, allocations: 76.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.000823/0.000823, 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.9139/0.9139, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7493/0.7493, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.00125/0.00125, allocations: 73.27 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.5167/0.5179, 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.005259/0.5232, allocations: 5.231 MB / 0.7242 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.5258, allocations: 2.597 MB / 0.7267 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.526, allocations: 27.75 kB / 0.7268 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009696/0.527, allocations: 0.6921 MB / 0.7274 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.5275, allocations: 421.5 kB / 0.7279 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.528, allocations: 402.2 kB / 0.7282 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.5287, allocations: 0.9477 MB / 0.7292 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.5291, allocations: 378.5 kB / 0.7295 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.5296, allocations: 0.5374 MB / 0.73 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.5299, allocations: 402.3 kB / 0.7304 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.53, allocations: 48 kB / 0.7305 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006104/0.5306, allocations: 331.1 kB / 0.7308 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5307, allocations: 255.2 kB / 0.731 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.5309, allocations: 282.7 kB / 0.7313 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006784/0.5316, allocations: 0.9922 MB / 0.7323 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5316, allocations: 0 / 0.7323 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5316, allocations: 0 / 0.7323 GB, free: 204 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5316, allocations: 0 / 0.7323 GB, free: 204 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.001009/0.5326, allocations: 0.9133 MB / 0.7332 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.5326, allocations: 11.97 kB / 0.7332 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.5334, allocations: 204.2 kB / 0.7334 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.5339, allocations: 447.8 kB / 0.7338 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.534, allocations: 37.36 kB / 0.7338 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5341, allocations: 56.52 kB / 0.7339 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.5348, allocations: 0.9824 MB / 0.7348 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5349, allocations: 3.984 kB / 0.7349 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.5349, allocations: 31.98 kB / 0.7349 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.535, allocations: 68.89 kB / 0.7349 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.5356, allocations: 0.5619 MB / 0.7355 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.5382, allocations: 3.48 MB / 0.7389 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.5385, allocations: 279.3 kB / 0.7392 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.5387, allocations: 209.2 kB / 0.7394 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5387, allocations: 8.281 kB / 0.7394 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5387, allocations: 34.84 kB / 0.7394 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.5387, allocations: 0 / 0.7394 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003184/0.5419, allocations: 2.345 MB / 0.7417 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5419, allocations: 59.41 kB / 0.7417 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.5422, allocations: 417.7 kB / 0.7421 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.5423, allocations: 37.7 kB / 0.7422 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5424, allocations: 356.4 kB / 0.7425 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.5425, allocations: 154.7 kB / 0.7427 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5426, allocations: 102.3 kB / 0.7428 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5427, allocations: 362.7 kB / 0.7431 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.543, allocations: 237.2 kB / 0.7433 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.5433, allocations: 419 kB / 0.7437 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.5441, allocations: 0.67 MB / 0.7444 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5442, allocations: 4 kB / 0.7444 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009959/0.5451, allocations: 0.9099 MB / 0.7453 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.5452, allocations: 14.28 kB / 0.7453 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5452, allocations: 8 kB / 0.7453 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.5456, allocations: 222.4 kB / 0.7455 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.5459, allocations: 119.8 kB / 0.7456 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.5491, allocations: 4.934 MB / 0.7505 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5493, allocations: 35.97 kB / 0.7505 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.5493, allocations: 20 kB / 0.7505 GB, free: 12.62 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.0002195/0.5496, allocations: 228.8 kB / 0.7507 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.5496, allocations: 59.66 kB / 0.7508 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.5509, allocations: 0.7616 MB / 0.7515 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5509, allocations: 4 kB / 0.7515 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5509, allocations: 4 kB / 0.7515 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5509, allocations: 7.922 kB / 0.7515 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.5523, allocations: 1.322 MB / 0.7528 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5523, allocations: 4.219 kB / 0.7528 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.5525, allocations: 71.88 kB / 0.7529 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/0.5528, allocations: 202.3 kB / 0.7531 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.5528, allocations: 12 kB / 0.7531 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.5558, allocations: 4.872 MB / 0.7579 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5558, allocations: 4 kB / 0.7579 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5572, allocations: 1.131 MB / 0.759 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5573, allocations: 95.61 kB / 0.7591 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.5574, allocations: 8.125 kB / 0.7591 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5575, allocations: 27.97 kB / 0.7591 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.5576, allocations: 35.94 kB / 0.7591 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.5576, allocations: 12 kB / 0.7591 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002016/0.5578, allocations: 287.1 kB / 0.7594 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5578, allocations: 7.938 kB / 0.7594 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004242/0.5582, allocations: 164 kB / 0.7596 GB, free: 2.875 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.0001219/0.5584, allocations: 111.2 kB / 0.7597 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.5593, allocations: 0.9728 MB / 0.7606 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5593, allocations: 7.938 kB / 0.7606 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.5598, allocations: 0.6603 MB / 0.7613 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.5604, allocations: 166.1 kB / 0.7614 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5617, allocations: 1.275 MB / 0.7627 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.5619, allocations: 349.7 kB / 0.763 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.5621, allocations: 112.8 kB / 0.7631 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.5621, allocations: 32.5 kB / 0.7632 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of SimCode: time 6.02e-07/0.5621, allocations: 0 / 0.7632 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.01012/0.5723, allocations: 9.101 MB / 0.7721 GB, free: 6.188 MB / 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.47888887510635] Failed to read output from testmodel.py, exit status != 0: 0.5792870100121945 0.5867212190000001 0.053125404 Calling exit ...