Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.0009195/0.0009195, 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.000861/0.000861, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.8949/0.8949, 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.7531/0.7531, 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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [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.0009275/0.0009275, allocations: 72.17 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.4543/0.4552, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002834/0.458, allocations: 2.847 MB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4598, allocations: 1.76 MB / 0.7236 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.4599, allocations: 7.594 kB / 0.7236 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.4604, allocations: 237 kB / 0.7238 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.4607, allocations: 212.4 kB / 0.724 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.461, allocations: 226.7 kB / 0.7242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.4613, allocations: 326.1 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.4616, allocations: 152.5 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.4619, allocations: 189.2 kB / 0.7249 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.4622, allocations: 155.1 kB / 0.725 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.4622, allocations: 21 kB / 0.725 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.4625, allocations: 257.5 kB / 0.7253 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.4625, allocations: 88.55 kB / 0.7254 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.4626, allocations: 100.6 kB / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.4631, allocations: 486.6 kB / 0.7259 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4631, allocations: 3.938 kB / 0.7259 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4631, allocations: 1.469 kB / 0.7259 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.4631, allocations: 0 / 0.7259 GB, free: 19.63 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006215/0.4637, allocations: 0.4884 MB / 0.7264 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4638, allocations: 8.375 kB / 0.7264 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.4643, allocations: 113.9 kB / 0.7265 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.4645, allocations: 209.9 kB / 0.7267 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4645, allocations: 12.59 kB / 0.7267 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.4646, allocations: 20.06 kB / 0.7268 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.4651, allocations: 424.9 kB / 0.7272 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4651, allocations: 4.812 kB / 0.7272 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4651, allocations: 7.594 kB / 0.7272 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.4651, allocations: 25.7 kB / 0.7272 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.4656, allocations: 339.4 kB / 0.7275 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4666, allocations: 1.394 MB / 0.7289 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.4671, allocations: 310.5 kB / 0.7292 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.4672, allocations: 144.6 kB / 0.7293 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.4673, allocations: 14.53 kB / 0.7293 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.4673, allocations: 41.73 kB / 0.7294 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.4673, allocations: 0 / 0.7294 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0008749/0.4682, allocations: 0.5238 MB / 0.7299 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.362e-05/0.4682, allocations: 80.33 kB / 0.73 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.4684, allocations: 216.7 kB / 0.7302 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4684, allocations: 30.86 kB / 0.7302 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.4684, allocations: 164.5 kB / 0.7304 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.4685, allocations: 71.2 kB / 0.7304 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.4685, allocations: 64.81 kB / 0.7305 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.4686, allocations: 329.4 kB / 0.7308 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4688, allocations: 149.9 kB / 0.7309 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.469, allocations: 220.8 kB / 0.7312 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.4693, allocations: 381 kB / 0.7315 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4693, allocations: 1.156 kB / 0.7315 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005411/0.4699, allocations: 461.4 kB / 0.732 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4699, allocations: 6.188 kB / 0.732 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4699, allocations: 1.812 kB / 0.732 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.4701, allocations: 45.25 kB / 0.732 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.4703, allocations: 73.69 kB / 0.7321 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007245/0.471, allocations: 1.481 MB / 0.7335 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4711, allocations: 37.53 kB / 0.7336 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4712, allocations: 10.98 kB / 0.7336 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002071/0.4714, allocations: 250.4 kB / 0.7338 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001806/0.4715, allocations: 217.2 kB / 0.734 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003381/0.4719, allocations: 360.9 kB / 0.7344 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.4719, allocations: 1.344 kB / 0.7344 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004876/0.4724, allocations: 435 kB / 0.7348 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.4724, allocations: 6.562 kB / 0.7348 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4724, allocations: 3.312 kB / 0.7348 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.794e-05/0.4725, allocations: 52.09 kB / 0.7348 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4727, allocations: 80.31 kB / 0.7349 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006176/0.4733, allocations: 1.478 MB / 0.7364 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.4734, allocations: 32.2 kB / 0.7364 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4734, allocations: 15.48 kB / 0.7364 GB, free: 12.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.4735, allocations: 197.7 kB / 0.7366 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4735, allocations: 23.28 kB / 0.7366 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.4739, allocations: 355.5 kB / 0.737 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4739, allocations: 3.141 kB / 0.737 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4739, allocations: 4 kB / 0.737 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.474, allocations: 51.58 kB / 0.737 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.474, allocations: 6.219 kB / 0.737 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4742, allocations: 26.08 kB / 0.737 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.4742, allocations: 19.73 kB / 0.7371 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004542/0.4747, allocations: 0.4962 MB / 0.7375 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000515/0.4752, allocations: 0.694 MB / 0.7382 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001501/0.4754, allocations: 124.9 kB / 0.7383 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001017/0.4755, allocations: 156.8 kB / 0.7385 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of Backend: time 1.71e-07/0.4755, allocations: 0 / 0.7385 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.4766, allocations: 0.8356 MB / 0.7393 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006128/0.4773, allocations: 0.9027 MB / 0.7402 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of Templates: time 0.009338/0.4866, allocations: 6.768 MB / 0.7468 GB, free: 9.113 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.410578228067607] Failed to read output from testmodel.py, exit status != 0: 0.4916859748773277 0.49906754300000006 0.03437254 Calling exit ...