Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.00177/0.00177, allocations: 85.48 kB / 19.44 MB, free: 348 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.002865/0.002865, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.369/1.369, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 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 178] 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/3.907e-05, allocations: 7.859 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.007189/0.007228, allocations: 4.406 MB / 0.5241 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.01078, allocations: 1.898 MB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.01096, allocations: 11.94 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.01283, allocations: 0.5964 MB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.01357, allocations: 289.5 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.01428, allocations: 248.7 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.01513, allocations: 0.6354 MB / 0.5277 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006406/0.01577, allocations: 343.1 kB / 0.528 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.01626, allocations: 351.2 kB / 0.5284 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.01679, allocations: 252 kB / 0.5286 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.01686, allocations: 41.28 kB / 0.5287 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.01734, allocations: 223.4 kB / 0.5289 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.01754, allocations: 171.5 kB / 0.529 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.01777, allocations: 161 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01879, allocations: 0.6269 MB / 0.5298 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01879, allocations: 0 / 0.5298 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.01879, allocations: 0 / 0.5298 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.0188, allocations: 3.031 kB / 0.5298 GB, free: 8.121 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001401/0.0202, allocations: 0.7878 MB / 0.5306 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.02023, allocations: 10.78 kB / 0.5306 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.02133, allocations: 208.4 kB / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.02189, allocations: 289.1 kB / 0.5311 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.02192, allocations: 21.38 kB / 0.5311 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.02199, allocations: 36.91 kB / 0.5311 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.02283, allocations: 0.5662 MB / 0.5317 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.02285, allocations: 4.688 kB / 0.5317 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.02289, allocations: 16.36 kB / 0.5317 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.02295, allocations: 38.42 kB / 0.5317 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.0234, allocations: 190.4 kB / 0.5319 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.02628, allocations: 2.133 MB / 0.534 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.02678, allocations: 185.1 kB / 0.5342 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.02692, allocations: 59.66 kB / 0.5342 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.02694, allocations: 4 kB / 0.5342 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.02698, allocations: 42.42 kB / 0.5343 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.02698, allocations: 0 / 0.5343 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.00211/0.02909, allocations: 0.7281 MB / 0.535 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.02914, allocations: 56.53 kB / 0.535 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.02953, allocations: 360.2 kB / 0.5354 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.02957, allocations: 29.7 kB / 0.5354 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.02981, allocations: 288.3 kB / 0.5357 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.0299, allocations: 87.27 kB / 0.5358 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.03003, allocations: 71.64 kB / 0.5358 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003037/0.03033, allocations: 0.528 MB / 0.5363 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.03047, allocations: 56.62 kB / 0.5364 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.03086, allocations: 186.3 kB / 0.5366 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.03127, allocations: 269 kB / 0.5368 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.03127, allocations: 4 kB / 0.5368 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007659/0.03204, allocations: 374.2 kB / 0.5372 GB, free: 116 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.03205, allocations: 8 kB / 0.5372 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03206, allocations: 4 kB / 0.5372 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/0.03272, allocations: 127.1 kB / 0.5373 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.03301, allocations: 61.53 kB / 0.5374 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/0.03758, allocations: 5.373 MB / 0.5426 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.03784, allocations: 8 kB / 0.5426 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.03786, allocations: 12 kB / 0.5426 GB, free: 10.15 MB / 0.5105 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.03809, allocations: 189.7 kB / 0.5428 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.03817, allocations: 40.69 kB / 0.5429 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.03826, allocations: 34.27 kB / 0.5429 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.03826, allocations: 5.156 kB / 0.5429 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.03827, allocations: 4 kB / 0.5429 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.03828, allocations: 0 / 0.5429 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.03874, allocations: 310 kB / 0.5432 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03874, allocations: 0 / 0.5432 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.03895, allocations: 43.91 kB / 0.5432 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/0.03954, allocations: 125.7 kB / 0.5434 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.03956, allocations: 4 kB / 0.5434 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.04437, allocations: 5.358 MB / 0.5486 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.04437, allocations: 0 / 0.5486 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.04522, allocations: 468.1 kB / 0.549 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.04538, allocations: 51.78 kB / 0.5491 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.04541, allocations: 0 / 0.5491 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.04563, allocations: 12.91 kB / 0.5491 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.0457, allocations: 23.89 kB / 0.5491 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.04571, allocations: 8.5 kB / 0.5491 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002544/0.04597, allocations: 238.1 kB / 0.5494 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04597, allocations: 0 / 0.5494 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005177/0.04649, allocations: 103.9 kB / 0.5495 GB, free: 2.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.0001486/0.04664, allocations: 97.22 kB / 0.5496 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.04767, allocations: 0.7112 MB / 0.5503 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.04767, allocations: 0 / 0.5503 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.04857, allocations: 0.5998 MB / 0.5508 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.04907, allocations: 74.66 kB / 0.5509 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.05032, allocations: 0.6478 MB / 0.5515 GB, free: 496 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.05061, allocations: 229.7 kB / 0.5518 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.05077, allocations: 51.42 kB / 0.5518 GB, free: 204 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.05084, allocations: 25.78 kB / 0.5518 GB, free: 180 kB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/0.05084, allocations: 0 / 0.5518 GB, free: 180 kB / 0.5105 GB Notification: Performance of Templates: time 0.01023/0.06107, allocations: 4.389 MB / 0.5561 GB, free: 11.95 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.106058145989664]