Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001185/0.001185, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.00142/0.00142, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9155/0.9155, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7303/0.7303, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.001483/0.001483, allocations: 71.89 kB / 0.6196 GB, free: 13.14 MB / 0.5886 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.5109/0.5124, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005532/0.5179, allocations: 6.489 MB / 0.7255 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.5215, allocations: 3.031 MB / 0.7284 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.522, allocations: 39.91 kB / 0.7285 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5235, allocations: 0.9607 MB / 0.7294 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009445/0.5245, allocations: 0.526 MB / 0.7299 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.5254, allocations: 445.2 kB / 0.7303 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.5265, allocations: 1.236 MB / 0.7315 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.5271, allocations: 0.532 MB / 0.7321 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/0.5278, allocations: 0.6856 MB / 0.7327 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.5283, allocations: 0.5121 MB / 0.7332 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.676e-05/0.5283, allocations: 66.84 kB / 0.7333 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.529, allocations: 342.3 kB / 0.7336 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.5292, allocations: 322.9 kB / 0.7339 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.5295, allocations: 375.1 kB / 0.7343 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5307, allocations: 1.314 MB / 0.7356 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5307, allocations: 4 kB / 0.7356 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5307, allocations: 0 / 0.7356 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.5307, allocations: 1.125 kB / 0.7356 GB, free: 14.31 MB / 0.6355 GB 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.001213/0.5319, allocations: 1.117 MB / 0.7367 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.532, allocations: 13.53 kB / 0.7367 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.5329, allocations: 243.4 kB / 0.7369 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.5335, allocations: 0.5296 MB / 0.7374 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.5336, allocations: 52.5 kB / 0.7375 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.5336, allocations: 65.78 kB / 0.7375 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5347, allocations: 1.346 MB / 0.7389 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.5347, allocations: 2.312 kB / 0.7389 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.5347, allocations: 30.11 kB / 0.7389 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5349, allocations: 84.34 kB / 0.739 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.5357, allocations: 0.7519 MB / 0.7397 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.5382, allocations: 4.534 MB / 0.7441 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.5389, allocations: 0.5033 MB / 0.7446 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.5392, allocations: 286.8 kB / 0.7449 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.5392, allocations: 4.625 kB / 0.7449 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5392, allocations: 43.91 kB / 0.7449 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.5392, allocations: 0 / 0.7449 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002188/0.5414, allocations: 1.693 MB / 0.7466 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.5414, allocations: 56.81 kB / 0.7466 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.5419, allocations: 0.5095 MB / 0.7471 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5419, allocations: 36.58 kB / 0.7472 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.542, allocations: 429.5 kB / 0.7476 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.5421, allocations: 181 kB / 0.7478 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5422, allocations: 124.3 kB / 0.7479 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.5423, allocations: 372.1 kB / 0.7482 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.5426, allocations: 280.2 kB / 0.7485 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.5429, allocations: 496.2 kB / 0.749 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.5436, allocations: 0.8139 MB / 0.7498 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5436, allocations: 3.156 kB / 0.7498 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001162/0.5448, allocations: 1.072 MB / 0.7508 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5448, allocations: 12 kB / 0.7508 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5448, allocations: 7.219 kB / 0.7508 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/0.5453, allocations: 273 kB / 0.7511 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.5456, allocations: 128.6 kB / 0.7512 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.5491, allocations: 6.591 MB / 0.7577 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.5494, allocations: 41.36 kB / 0.7577 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.5495, allocations: 27.53 kB / 0.7577 GB, free: 14.91 MB / 0.6511 GB 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.0003362/0.5498, allocations: 252.6 kB / 0.758 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.5499, allocations: 69.61 kB / 0.758 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.551, allocations: 0.8825 MB / 0.7589 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.551, allocations: 2.906 kB / 0.7589 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.551, allocations: 5.188 kB / 0.7589 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.5512, allocations: 107.6 kB / 0.759 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.5512, allocations: 10.95 kB / 0.759 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.5514, allocations: 41.47 kB / 0.759 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.5515, allocations: 47.8 kB / 0.7591 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/0.5528, allocations: 0.9484 MB / 0.76 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00102/0.5538, allocations: 1.044 MB / 0.761 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002873/0.5541, allocations: 253.1 kB / 0.7613 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003538/0.5545, allocations: 348 kB / 0.7616 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of Backend: time 5.51e-07/0.5545, allocations: 0 / 0.7616 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.5564, allocations: 1.261 MB / 0.7628 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002024/0.5584, allocations: 1.963 MB / 0.7648 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.01802/0.5764, allocations: 13.53 MB / 0.778 GB, free: 4.195 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.557681380072609] Failed to read output from testmodel.py, exit status != 0: 0.5862082010135055 0.595088659 0.06258593 Calling exit ...