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.00101/0.00101, allocations: 93.06 kB / 19.65 MB, free: 280 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.001116/0.001116, allocations: 169 kB / 23.02 MB, free: 1.551 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.652 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-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 0.794/0.794, allocations: 154.9 MB / 414.8 MB, free: 432 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 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.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 2.164e-06/2.164e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.383e-05, allocations: 4.969 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003947/0.003981, allocations: 3.306 MB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.006179, allocations: 1.255 MB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.006386, allocations: 11.94 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.006928, allocations: 135.2 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.007387, allocations: 243.6 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.007832, allocations: 197.8 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.008514, allocations: 0.6419 MB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.00911, allocations: 351.1 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.009773, allocations: 352.2 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.01029, allocations: 240.6 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.01035, allocations: 36 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.01057, allocations: 111.7 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01069, allocations: 172.8 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01083, allocations: 151.7 kB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.01142, allocations: 394.7 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01142, allocations: 0 / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01142, allocations: 0.8125 kB / 0.528 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.01143, allocations: 0 / 0.528 GB, free: 10.3 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.001175/0.01261, allocations: 0.7596 MB / 0.5288 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.01267, allocations: 12.81 kB / 0.5288 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.01346, allocations: 211.1 kB / 0.529 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.01396, allocations: 282.2 kB / 0.5292 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01398, allocations: 21.38 kB / 0.5293 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.01405, allocations: 40.36 kB / 0.5293 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.01467, allocations: 0.5267 MB / 0.5298 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01468, allocations: 8.125 kB / 0.5298 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.01472, allocations: 12.38 kB / 0.5298 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.01477, allocations: 41.44 kB / 0.5299 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.01502, allocations: 160.7 kB / 0.53 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.01692, allocations: 2.042 MB / 0.532 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.0173, allocations: 198.6 kB / 0.5322 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.01738, allocations: 51.61 kB / 0.5323 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.01739, allocations: 4 kB / 0.5323 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.01742, allocations: 45.38 kB / 0.5323 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/0.01742, allocations: 2.438 kB / 0.5323 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.00123/0.01865, allocations: 0.6808 MB / 0.533 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.01868, allocations: 51.41 kB / 0.533 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.0189, allocations: 312.2 kB / 0.5333 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01892, allocations: 33.7 kB / 0.5334 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01905, allocations: 288.1 kB / 0.5336 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.01909, allocations: 83.33 kB / 0.5337 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.01933, allocations: 71.64 kB / 0.5338 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01946, allocations: 0.5093 MB / 0.5343 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.01953, allocations: 44.62 kB / 0.5343 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01966, allocations: 165.7 kB / 0.5345 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.0199, allocations: 239.5 kB / 0.5347 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0199, allocations: 4 kB / 0.5347 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004179/0.02032, allocations: 337.7 kB / 0.535 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.02034, allocations: 4.938 kB / 0.535 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02035, allocations: 4 kB / 0.535 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.02069, allocations: 123.8 kB / 0.5352 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.02086, allocations: 66.81 kB / 0.5352 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.02326, allocations: 5.278 MB / 0.5404 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.02339, allocations: 11.98 kB / 0.5404 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.0234, allocations: 16 kB / 0.5404 GB, free: 12.8 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.0001201/0.02352, allocations: 183.9 kB / 0.5406 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.02356, allocations: 35.81 kB / 0.5406 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.0236, allocations: 38.27 kB / 0.5407 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.0236, allocations: 0 / 0.5407 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.02361, allocations: 8 kB / 0.5407 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02361, allocations: 0 / 0.5407 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.02399, allocations: 270.4 kB / 0.5409 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.024, allocations: 3.984 kB / 0.5409 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.0241, allocations: 35.92 kB / 0.541 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.02437, allocations: 119.6 kB / 0.5411 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.02439, allocations: 0.8125 kB / 0.5411 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.02643, allocations: 5.284 MB / 0.5462 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02643, allocations: 4 kB / 0.5462 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.02684, allocations: 439.8 kB / 0.5467 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.02691, allocations: 49.97 kB / 0.5467 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.02693, allocations: 4 kB / 0.5467 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.02703, allocations: 8 kB / 0.5467 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.02707, allocations: 20.05 kB / 0.5467 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.02708, allocations: 11.94 kB / 0.5467 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001178/0.0272, allocations: 214.3 kB / 0.5469 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0272, allocations: 0 / 0.5469 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003447/0.02755, allocations: 95.94 kB / 0.547 GB, free: 5.578 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.000124/0.02767, allocations: 101.9 kB / 0.5471 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.0284, allocations: 0.683 MB / 0.5478 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.0284, allocations: 7.938 kB / 0.5478 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.02868, allocations: 0.5768 MB / 0.5484 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.02903, allocations: 82.84 kB / 0.5485 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.03016, allocations: 0.6435 MB / 0.5491 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.03025, allocations: 132.6 kB / 0.5492 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000123/0.03037, allocations: 49.36 kB / 0.5493 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.03042, allocations: 24.5 kB / 0.5493 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/0.03042, allocations: 0 / 0.5493 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.007524/0.03794, allocations: 4.565 MB / 0.5537 GB, free: 14.77 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: 3.8672332847490907]