Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0008321/0.0008321, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0007431/0.0007431, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.8596/0.8596, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6892/0.6892, allocations: 154.6 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.559e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003052/0.003078, allocations: 3.025 MB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.005074, allocations: 1.854 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.005199, allocations: 7.938 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.005767, allocations: 286.8 kB / 0.6243 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.006137, allocations: 202.8 kB / 0.6245 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.006608, allocations: 262.9 kB / 0.6247 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.006906, allocations: 330.8 kB / 0.6251 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.007167, allocations: 161 kB / 0.6252 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.007385, allocations: 191.5 kB / 0.6254 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.007594, allocations: 131.6 kB / 0.6255 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.007621, allocations: 20 kB / 0.6255 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.008038, allocations: 387 kB / 0.6259 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.008127, allocations: 91.72 kB / 0.626 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.008193, allocations: 79.83 kB / 0.6261 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.008689, allocations: 0.5219 MB / 0.6266 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008692, allocations: 0 / 0.6266 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.008694, allocations: 0 / 0.6266 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.008699, allocations: 0 / 0.6266 GB, free: 5.703 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006592/0.009358, allocations: 0.4894 MB / 0.6271 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.009392, allocations: 13.47 kB / 0.6271 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.009822, allocations: 108.6 kB / 0.6272 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.01008, allocations: 216.6 kB / 0.6274 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.01009, allocations: 12.88 kB / 0.6274 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.01012, allocations: 20.31 kB / 0.6274 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.01049, allocations: 405.1 kB / 0.6278 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.0105, allocations: 4.125 kB / 0.6278 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.01053, allocations: 16.36 kB / 0.6278 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.01056, allocations: 24.42 kB / 0.6278 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.01084, allocations: 293.8 kB / 0.6281 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01201, allocations: 1.218 MB / 0.6293 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.01229, allocations: 241.1 kB / 0.6295 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.01239, allocations: 101.7 kB / 0.6296 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.01244, allocations: 15.98 kB / 0.6297 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.01246, allocations: 38.5 kB / 0.6297 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01246, allocations: 3.938 kB / 0.6297 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001414/0.01387, allocations: 0.8929 MB / 0.6306 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01391, allocations: 89.06 kB / 0.6307 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01406, allocations: 209.8 kB / 0.6309 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01408, allocations: 33.69 kB / 0.6309 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.01415, allocations: 168.5 kB / 0.631 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.01419, allocations: 79.27 kB / 0.6311 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.01426, allocations: 61.66 kB / 0.6312 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.01433, allocations: 334.8 kB / 0.6315 GB, free: 432 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.01445, allocations: 135.9 kB / 0.6316 GB, free: 296 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.0146, allocations: 205.4 kB / 0.6318 GB, free: 56 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.01491, allocations: 372 kB / 0.6322 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01491, allocations: 3.938 kB / 0.6322 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005148/0.01543, allocations: 0.5004 MB / 0.6327 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01544, allocations: 8 kB / 0.6327 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01545, allocations: 0 / 0.6327 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.01574, allocations: 147.6 kB / 0.6328 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.01588, allocations: 67.89 kB / 0.6329 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.01769, allocations: 3.934 MB / 0.6367 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01779, allocations: 15.98 kB / 0.6367 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01781, allocations: 19.98 kB / 0.6368 GB, free: 10.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.01793, allocations: 157.8 kB / 0.6369 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.01797, allocations: 23.86 kB / 0.6369 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.01848, allocations: 472.3 kB / 0.6374 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01848, allocations: 7.938 kB / 0.6374 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01848, allocations: 4 kB / 0.6374 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01849, allocations: 0 / 0.6374 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.01938, allocations: 0.9057 MB / 0.6383 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01938, allocations: 4.094 kB / 0.6383 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.01945, allocations: 35.86 kB / 0.6383 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.01965, allocations: 139.3 kB / 0.6385 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.01967, allocations: 8.25 kB / 0.6385 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.02132, allocations: 3.907 MB / 0.6423 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02132, allocations: 0 / 0.6423 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.02179, allocations: 0.6181 MB / 0.6429 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.02187, allocations: 55.77 kB / 0.6429 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.02188, allocations: 8 kB / 0.6429 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.022, allocations: 15.98 kB / 0.643 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.02204, allocations: 27.95 kB / 0.643 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02205, allocations: 11.94 kB / 0.643 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001832/0.02223, allocations: 155.4 kB / 0.6431 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-08/0.02223, allocations: 0 / 0.6431 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003382/0.02257, allocations: 91.92 kB / 0.6432 GB, free: 3.633 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.02274, allocations: 143 kB / 0.6434 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.02331, allocations: 0.5695 MB / 0.6439 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.02331, allocations: 4 kB / 0.6439 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.02358, allocations: 390.1 kB / 0.6443 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.02391, allocations: 51 kB / 0.6443 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.02463, allocations: 0.636 MB / 0.645 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.02475, allocations: 180.8 kB / 0.6451 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.0248, allocations: 28.48 kB / 0.6452 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of SimCode: time 7.22e-07/0.0248, allocations: 3.938 kB / 0.6452 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of Templates: time 0.006514/0.03131, allocations: 7.804 MB / 0.6528 GB, free: 9.707 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.825355044566095] Failed to read output from testmodel.py, exit status != 0: 0.03707936126738787 0.045007052000000006 0.034717879 Calling exit ...