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.001345/0.001345, allocations: 88.72 kB / 19.44 MB, free: 356 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.0015/0.0015, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.202/1.202, allocations: 154.8 MB / 414.3 MB, free: 472 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.523e-06/1.523e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.959e-05, allocations: 5.266 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006776/0.006806, allocations: 4.212 MB / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.01035, allocations: 1.814 MB / 0.5257 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.01054, allocations: 17.28 kB / 0.5257 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.01237, allocations: 0.5975 MB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.01307, allocations: 273.1 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.01378, allocations: 256.3 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008327/0.01462, allocations: 0.6266 MB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006532/0.01527, allocations: 356 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.01574, allocations: 343.2 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.01624, allocations: 240.9 kB / 0.5283 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.01632, allocations: 40 kB / 0.5284 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.01678, allocations: 235.3 kB / 0.5286 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.01697, allocations: 168.5 kB / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.01718, allocations: 151.7 kB / 0.5289 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008514/0.01803, allocations: 0.623 MB / 0.5295 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.01804, allocations: 5.391 kB / 0.5295 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01804, allocations: 0 / 0.5295 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.01805, allocations: 0 / 0.5295 GB, free: 8.426 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.001392/0.01944, allocations: 0.6573 MB / 0.5301 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.01949, allocations: 8.031 kB / 0.5302 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.02064, allocations: 223 kB / 0.5304 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.02115, allocations: 288.5 kB / 0.5306 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.02118, allocations: 25.31 kB / 0.5307 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.02126, allocations: 37.69 kB / 0.5307 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.02225, allocations: 0.6826 MB / 0.5314 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.02227, allocations: 4.125 kB / 0.5314 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.02232, allocations: 12.88 kB / 0.5314 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.02237, allocations: 38.48 kB / 0.5314 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.02303, allocations: 386.3 kB / 0.5318 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.02584, allocations: 1.673 MB / 0.5334 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.02643, allocations: 234.5 kB / 0.5336 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.02661, allocations: 102 kB / 0.5337 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.02663, allocations: 4 kB / 0.5338 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.02667, allocations: 38.5 kB / 0.5338 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.02667, allocations: 1.031 kB / 0.5338 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002395/0.02906, allocations: 0.9138 MB / 0.5347 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.02911, allocations: 51.41 kB / 0.5347 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.02946, allocations: 273.8 kB / 0.535 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.02949, allocations: 29.7 kB / 0.535 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.02969, allocations: 240 kB / 0.5352 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.02977, allocations: 79.3 kB / 0.5353 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02988, allocations: 58.03 kB / 0.5354 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.03009, allocations: 342.8 kB / 0.5357 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.03028, allocations: 107.7 kB / 0.5358 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.03057, allocations: 195.7 kB / 0.536 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.03106, allocations: 311 kB / 0.5363 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.03106, allocations: 1.281 kB / 0.5363 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008987/0.03196, allocations: 456.8 kB / 0.5367 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.03198, allocations: 4 kB / 0.5367 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.03199, allocations: 4 kB / 0.5367 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.03269, allocations: 140.4 kB / 0.5369 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.03299, allocations: 67.89 kB / 0.5369 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.03712, allocations: 4.009 MB / 0.5408 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.03741, allocations: 9.531 kB / 0.5409 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.03745, allocations: 16 kB / 0.5409 GB, free: 12.13 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.0002634/0.03771, allocations: 183.1 kB / 0.541 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.03779, allocations: 35.86 kB / 0.5411 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.03787, allocations: 34.27 kB / 0.5411 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03787, allocations: 5.344 kB / 0.5411 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.03788, allocations: 0 / 0.5411 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.03788, allocations: 3.984 kB / 0.5411 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.03833, allocations: 285.1 kB / 0.5414 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03834, allocations: 0.875 kB / 0.5414 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.03854, allocations: 35.92 kB / 0.5414 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/0.03914, allocations: 136.2 kB / 0.5416 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.03915, allocations: 0 / 0.5416 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/0.04304, allocations: 4.004 MB / 0.5455 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04304, allocations: 0 / 0.5455 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.04404, allocations: 0.56 MB / 0.546 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.04419, allocations: 43.83 kB / 0.5461 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.04423, allocations: 7.984 kB / 0.5461 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.04444, allocations: 9.5 kB / 0.5461 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.04449, allocations: 15.97 kB / 0.5461 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.04451, allocations: 17.28 kB / 0.5461 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002216/0.04474, allocations: 185.2 kB / 0.5463 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04474, allocations: 0 / 0.5463 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005149/0.04525, allocations: 99.94 kB / 0.5464 GB, free: 6.129 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.0002247/0.04548, allocations: 113.1 kB / 0.5465 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009508/0.04643, allocations: 0.5957 MB / 0.5471 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04643, allocations: 0 / 0.5471 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.04703, allocations: 462.8 kB / 0.5475 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.04752, allocations: 68.58 kB / 0.5476 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.04878, allocations: 0.6948 MB / 0.5483 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.04905, allocations: 225.5 kB / 0.5485 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000182/0.04923, allocations: 60.92 kB / 0.5485 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.0493, allocations: 20.5 kB / 0.5485 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.0493, allocations: 0 / 0.5485 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.01056/0.05986, allocations: 4.364 MB / 0.5528 GB, free: 15.62 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.943325196043588]