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.000918/0.000918, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009945/0.0009945, allocations: 173 kB / 23.49 MB, free: 1.062 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.9325/0.9325, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8348/0.8348, allocations: 154.8 MB / 415.1 MB, free: 496 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 1.834e-06/1.834e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.329e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006168/0.006201, allocations: 4.44 MB / 0.5249 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.009351, allocations: 1.896 MB / 0.5267 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.009639, allocations: 12.5 kB / 0.5268 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01092, allocations: 0.6058 MB / 0.5273 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.01156, allocations: 280.5 kB / 0.5276 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.01216, allocations: 253.1 kB / 0.5279 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.0128, allocations: 0.6317 MB / 0.5285 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006259/0.01342, allocations: 351.1 kB / 0.5288 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.01381, allocations: 351.2 kB / 0.5291 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.01423, allocations: 248.6 kB / 0.5294 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.01429, allocations: 36 kB / 0.5294 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.01472, allocations: 239.4 kB / 0.5296 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.01488, allocations: 162.5 kB / 0.5298 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.01505, allocations: 159.6 kB / 0.53 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006855/0.01574, allocations: 474.4 kB / 0.5304 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01574, allocations: 0 / 0.5304 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01574, allocations: 0 / 0.5304 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.01575, allocations: 0 / 0.5304 GB, free: 8.234 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.0008601/0.01661, allocations: 0.7674 MB / 0.5312 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.01666, allocations: 8.031 kB / 0.5312 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.01779, allocations: 218.2 kB / 0.5314 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.01825, allocations: 277.5 kB / 0.5316 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.01828, allocations: 33.36 kB / 0.5317 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.01833, allocations: 32.88 kB / 0.5317 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.0188, allocations: 0.5305 MB / 0.5322 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01881, allocations: 2 kB / 0.5322 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.01884, allocations: 16.38 kB / 0.5322 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.01888, allocations: 36.58 kB / 0.5323 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.01914, allocations: 162.1 kB / 0.5324 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.02073, allocations: 2.045 MB / 0.5344 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.02114, allocations: 188 kB / 0.5346 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.02122, allocations: 57.03 kB / 0.5347 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.02124, allocations: 4 kB / 0.5347 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.02126, allocations: 38.33 kB / 0.5347 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.02126, allocations: 0 / 0.5347 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001222/0.02248, allocations: 0.6829 MB / 0.5354 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.02251, allocations: 55.41 kB / 0.5354 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.02271, allocations: 316.2 kB / 0.5357 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.02273, allocations: 29.7 kB / 0.5357 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.02286, allocations: 287.4 kB / 0.536 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.02291, allocations: 83.27 kB / 0.5361 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.023, allocations: 68.33 kB / 0.5362 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.02316, allocations: 0.5129 MB / 0.5367 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.02325, allocations: 52.56 kB / 0.5367 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.02339, allocations: 161.8 kB / 0.5369 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.02364, allocations: 227.8 kB / 0.5371 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.02364, allocations: 3.938 kB / 0.5371 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004279/0.02407, allocations: 338.3 kB / 0.5374 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.02408, allocations: 8 kB / 0.5374 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.02409, allocations: 4 kB / 0.5374 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.02441, allocations: 121.1 kB / 0.5375 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.02457, allocations: 67.91 kB / 0.5376 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.02716, allocations: 5.291 MB / 0.5428 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.02734, allocations: 9.125 kB / 0.5428 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.02735, allocations: 12 kB / 0.5428 GB, free: 10.74 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.0001571/0.02751, allocations: 185.9 kB / 0.543 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.02756, allocations: 39.81 kB / 0.543 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.02759, allocations: 34.83 kB / 0.543 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0276, allocations: 4.938 kB / 0.543 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.0276, allocations: 0 / 0.543 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02761, allocations: 3.984 kB / 0.543 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.02785, allocations: 275.1 kB / 0.5433 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02785, allocations: 0 / 0.5433 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.02795, allocations: 31.92 kB / 0.5433 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.02823, allocations: 119.1 kB / 0.5435 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.02825, allocations: 5.062 kB / 0.5435 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.0304, allocations: 5.292 MB / 0.5486 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0304, allocations: 3.938 kB / 0.5486 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.03081, allocations: 432 kB / 0.549 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.03088, allocations: 43.8 kB / 0.5491 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.0309, allocations: 4.969 kB / 0.5491 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.031, allocations: 15.98 kB / 0.5491 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.03105, allocations: 24.41 kB / 0.5491 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.03106, allocations: 5.094 kB / 0.5491 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001219/0.03118, allocations: 213.1 kB / 0.5493 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03118, allocations: 0 / 0.5493 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003465/0.03153, allocations: 100.9 kB / 0.5494 GB, free: 3.504 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.0001091/0.03164, allocations: 101.6 kB / 0.5495 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.0322, allocations: 0.6826 MB / 0.5502 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.03221, allocations: 0 / 0.5502 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.03249, allocations: 0.5847 MB / 0.5508 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.03281, allocations: 64.97 kB / 0.5508 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.03394, allocations: 0.6548 MB / 0.5515 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.03403, allocations: 128.6 kB / 0.5516 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000132/0.03417, allocations: 48.72 kB / 0.5516 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.03421, allocations: 22.28 kB / 0.5517 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/0.03421, allocations: 0 / 0.5517 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of Templates: time 0.00674/0.04095, allocations: 4.398 MB / 0.556 GB, free: 12.86 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.835005607223138]