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.0009934/0.0009934, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009971/0.0009971, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9378/0.9378, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8481/0.8481, allocations: 154.9 MB / 415.9 MB, free: 252 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.262e-06/1.262e-06, allocations: 0 / 0.5219 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.305e-05, allocations: 3.844 kB / 0.5219 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00492/0.004943, allocations: 3.276 MB / 0.5251 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.007632, allocations: 1.245 MB / 0.5263 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.007883, allocations: 11.94 kB / 0.5263 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.008528, allocations: 135.8 kB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.0091, allocations: 241.8 kB / 0.5266 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.009595, allocations: 205.2 kB / 0.5268 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.01039, allocations: 0.642 MB / 0.5275 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.01096, allocations: 347 kB / 0.5278 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.01141, allocations: 352 kB / 0.5281 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.01188, allocations: 244.8 kB / 0.5284 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.01194, allocations: 39.94 kB / 0.5284 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.0122, allocations: 107.8 kB / 0.5285 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.01235, allocations: 164.9 kB / 0.5287 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.01254, allocations: 159.7 kB / 0.5288 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.0131, allocations: 402.5 kB / 0.5292 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.0131, allocations: 0 / 0.5292 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.0131, allocations: 1.562 kB / 0.5292 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.01311, allocations: 0 / 0.5292 GB, free: 10.06 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.001051/0.01416, allocations: 0.7438 MB / 0.5299 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.0142, allocations: 12.03 kB / 0.5299 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.01512, allocations: 190.5 kB / 0.5301 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.01556, allocations: 279.5 kB / 0.5304 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01558, allocations: 25.38 kB / 0.5304 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.01565, allocations: 32.38 kB / 0.5304 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.01622, allocations: 0.5071 MB / 0.5309 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.01624, allocations: 4.125 kB / 0.5309 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.01628, allocations: 16.38 kB / 0.531 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.01634, allocations: 32.58 kB / 0.531 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.0166, allocations: 131.4 kB / 0.5311 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.01877, allocations: 1.975 MB / 0.533 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.01914, allocations: 185.1 kB / 0.5332 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.01922, allocations: 47.66 kB / 0.5333 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01924, allocations: 4 kB / 0.5333 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.01927, allocations: 41.33 kB / 0.5333 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.01927, allocations: 0 / 0.5333 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.00146/0.02073, allocations: 0.6027 MB / 0.5339 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.02076, allocations: 55.41 kB / 0.534 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.02101, allocations: 308.1 kB / 0.5342 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.02104, allocations: 33.7 kB / 0.5343 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.02122, allocations: 282.7 kB / 0.5345 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.0213, allocations: 95.23 kB / 0.5346 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.0214, allocations: 66.22 kB / 0.5347 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.02156, allocations: 0.5117 MB / 0.5352 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.02164, allocations: 36.62 kB / 0.5352 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.02179, allocations: 161.7 kB / 0.5354 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.02203, allocations: 206.2 kB / 0.5356 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02204, allocations: 4.5 kB / 0.5356 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005271/0.02256, allocations: 321.8 kB / 0.5359 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.02258, allocations: 8 kB / 0.5359 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.02259, allocations: 4.562 kB / 0.5359 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.02303, allocations: 116.2 kB / 0.536 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.02326, allocations: 60.5 kB / 0.5361 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.02639, allocations: 5.223 MB / 0.5412 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.02658, allocations: 8 kB / 0.5412 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.02659, allocations: 8.594 kB / 0.5412 GB, free: 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.0001445/0.02674, allocations: 178.6 kB / 0.5414 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.02678, allocations: 35.75 kB / 0.5414 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.02682, allocations: 46.27 kB / 0.5414 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.02682, allocations: 0.7188 kB / 0.5414 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.02683, allocations: 4 kB / 0.5414 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.02683, allocations: 1.344 kB / 0.5414 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.02705, allocations: 213 kB / 0.5417 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.02705, allocations: 0 / 0.5417 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.02715, allocations: 37.27 kB / 0.5417 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.02742, allocations: 119.2 kB / 0.5418 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.02743, allocations: 10.28 kB / 0.5418 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.02931, allocations: 5.21 MB / 0.5469 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02931, allocations: 0 / 0.5469 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.02965, allocations: 411.8 kB / 0.5473 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.02971, allocations: 39.8 kB / 0.5473 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.02973, allocations: 4 kB / 0.5473 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.02983, allocations: 12.86 kB / 0.5473 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.02987, allocations: 27.06 kB / 0.5474 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.02988, allocations: 4 kB / 0.5474 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.02996, allocations: 201.1 kB / 0.5476 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.02996, allocations: 0 / 0.5476 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003114/0.03027, allocations: 99.94 kB / 0.5477 GB, free: 5.984 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.0001018/0.03038, allocations: 100.8 kB / 0.5478 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.03084, allocations: 0.6597 MB / 0.5484 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03084, allocations: 0 / 0.5484 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.03111, allocations: 0.5785 MB / 0.549 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.03141, allocations: 72.94 kB / 0.549 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.03233, allocations: 0.6641 MB / 0.5497 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.506e-05/0.03242, allocations: 126.1 kB / 0.5498 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.03252, allocations: 32.7 kB / 0.5498 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.03266, allocations: 151.2 kB / 0.55 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.03266, allocations: 0 / 0.55 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of Templates: time 0.006581/0.03925, allocations: 4.742 MB / 0.5546 GB, free: 14.91 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.8176617580465972]