Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.0007557/0.0007557, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007971/0.0007971, 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.9162/0.9162, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7546/0.7546, 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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [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.0009831/0.0009831, allocations: 63.91 kB / 0.6195 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.4566/0.4576, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005379/0.463, allocations: 4.957 MB / 0.724 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.468, allocations: 3.605 MB / 0.7275 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.4682, allocations: 16.09 kB / 0.7275 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.4695, allocations: 0.5625 MB / 0.728 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008325/0.4703, allocations: 0.4885 MB / 0.7285 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.4708, allocations: 267.3 kB / 0.7288 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.4717, allocations: 0.7278 MB / 0.7295 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.4722, allocations: 338.2 kB / 0.7298 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.4726, allocations: 498.9 kB / 0.7303 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.473, allocations: 320.1 kB / 0.7306 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.4731, allocations: 45.38 kB / 0.7306 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.4734, allocations: 282.6 kB / 0.7309 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.4735, allocations: 180.7 kB / 0.7311 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.4737, allocations: 204.6 kB / 0.7313 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008082/0.4745, allocations: 0.9077 MB / 0.7321 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4745, allocations: 0 / 0.7321 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4745, allocations: 3.938 kB / 0.7322 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4745, allocations: 1.844 kB / 0.7322 GB, free: 16.07 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009772/0.4755, allocations: 0.7504 MB / 0.7329 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4755, allocations: 12.95 kB / 0.7329 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.4772, allocations: 0.6909 MB / 0.7336 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.4777, allocations: 431.1 kB / 0.734 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4778, allocations: 21.41 kB / 0.734 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.4778, allocations: 32.62 kB / 0.734 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.479, allocations: 0.916 MB / 0.7349 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.479, allocations: 2.062 kB / 0.7349 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.4791, allocations: 26.8 kB / 0.735 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.4792, allocations: 60.89 kB / 0.735 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.4805, allocations: 0.9236 MB / 0.7359 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.4828, allocations: 2.119 MB / 0.738 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.4838, allocations: 0.5482 MB / 0.7385 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.4842, allocations: 295.8 kB / 0.7388 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-05/0.4843, allocations: 10.56 kB / 0.7388 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.4843, allocations: 35.56 kB / 0.7389 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.4843, allocations: 0 / 0.7389 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36): time 0.008801/0.4931, allocations: 4.003 MB / 0.7428 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.4931, allocations: 55.25 kB / 0.7428 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.4935, allocations: 396 kB / 0.7432 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.4935, allocations: 34.92 kB / 0.7432 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4936, allocations: 241.2 kB / 0.7435 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.4937, allocations: 134.4 kB / 0.7436 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4939, allocations: 84.19 kB / 0.7437 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.4939, allocations: 349.9 kB / 0.744 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.4946, allocations: 455.7 kB / 0.7444 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/0.4953, allocations: 0.5573 MB / 0.745 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4967, allocations: 0.9597 MB / 0.7459 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4967, allocations: 1.094 kB / 0.7459 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003459/0.5002, allocations: 1.92 MB / 0.7478 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5002, allocations: 7.906 kB / 0.7478 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5002, allocations: 6.625 kB / 0.7478 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.5024, allocations: 1.022 MB / 0.7488 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.5027, allocations: 129.9 kB / 0.7489 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/0.5089, allocations: 6.635 MB / 0.7554 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.5093, allocations: 110.2 kB / 0.7555 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.5094, allocations: 23.58 kB / 0.7555 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00077/0.5101, allocations: 0.6425 MB / 0.7562 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006013/0.5107, allocations: 0.5392 MB / 0.7567 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001127/0.5119, allocations: 0.9355 MB / 0.7576 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.5119, allocations: 1.375 kB / 0.7576 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.002676/0.5145, allocations: 1.753 MB / 0.7593 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5146, allocations: 6.312 kB / 0.7593 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5146, allocations: 5.844 kB / 0.7593 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.5162, allocations: 0.7937 MB / 0.7601 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.5165, allocations: 129.9 kB / 0.7602 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005665/0.5221, allocations: 6.136 MB / 0.7662 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.5225, allocations: 114.1 kB / 0.7663 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.5226, allocations: 15.69 kB / 0.7663 GB, free: 13.11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.5227, allocations: 212.2 kB / 0.7665 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.5228, allocations: 37.55 kB / 0.7666 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.5256, allocations: 1.764 MB / 0.7683 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5257, allocations: 4 kB / 0.7683 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5257, allocations: 0 / 0.7683 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5258, allocations: 107.4 kB / 0.7684 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.5259, allocations: 13.14 kB / 0.7684 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5262, allocations: 89.61 kB / 0.7685 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5263, allocations: 46.77 kB / 0.7685 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00231/0.5286, allocations: 1.572 MB / 0.7701 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001497/0.5301, allocations: 1.416 MB / 0.7715 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004687/0.5305, allocations: 401.8 kB / 0.7718 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000243/0.5308, allocations: 303.1 kB / 0.7721 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of Backend: time 2.3e-07/0.5308, allocations: 0 / 0.7721 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003938/0.5347, allocations: 2.404 MB / 0.7745 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of SimCode: time 0.001443/0.5362, allocations: 1.644 MB / 0.7761 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of Templates: time 0.01902/0.5552, allocations: 20.82 MB / 0.7964 GB, free: 2.246 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.527102618012577] Failed to read output from testmodel.py, exit status != 0: 0.5609985811170191 0.569494644 0.09299123100000001 Calling exit ...