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.001365/0.001365, allocations: 81.08 kB / 19.87 MB, free: 4.617 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.001764/0.001764, allocations: 169 kB / 23.27 MB, free: 1.219 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.9186/0.9186, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.8582/0.8582, allocations: 154.9 MB / 415.1 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 2.044e-06/2.044e-06, allocations: 0 / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.852e-05, allocations: 5.188 kB / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003796/0.003824, allocations: 3.262 MB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005544, allocations: 1.245 MB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.005732, allocations: 11.94 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.006255, allocations: 132.4 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.006618, allocations: 248.6 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.00697, allocations: 203.1 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.007406, allocations: 0.638 MB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.00781, allocations: 347.1 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.00808, allocations: 351.2 kB / 0.5274 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.008411, allocations: 247.3 kB / 0.5276 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.008453, allocations: 40.44 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.008627, allocations: 104.4 kB / 0.5277 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.008732, allocations: 167.5 kB / 0.5279 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.008839, allocations: 152.7 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.009209, allocations: 410.6 kB / 0.5284 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.009215, allocations: 0.9375 kB / 0.5284 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.009217, allocations: 4 kB / 0.5284 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.009223, allocations: 0 / 0.5284 GB, free: 10.04 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.0008542/0.01008, allocations: 0.7362 MB / 0.5292 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.01011, allocations: 16.98 kB / 0.5292 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.01065, allocations: 194 kB / 0.5294 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.01092, allocations: 273.3 kB / 0.5296 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.01094, allocations: 29.36 kB / 0.5296 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.01098, allocations: 32.94 kB / 0.5297 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.01134, allocations: 0.5006 MB / 0.5302 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01135, allocations: 4.125 kB / 0.5302 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.01137, allocations: 20.36 kB / 0.5302 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.01141, allocations: 36.56 kB / 0.5302 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.01156, allocations: 134.8 kB / 0.5304 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01297, allocations: 1.968 MB / 0.5323 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.01322, allocations: 183.7 kB / 0.5324 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.01327, allocations: 50.41 kB / 0.5325 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.01327, allocations: 7.938 kB / 0.5325 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.0133, allocations: 37.39 kB / 0.5325 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.434e-06/0.0133, allocations: 4 kB / 0.5325 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.000936/0.01423, allocations: 0.6012 MB / 0.5331 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.01426, allocations: 51.41 kB / 0.5332 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01441, allocations: 308.1 kB / 0.5335 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01443, allocations: 30.36 kB / 0.5335 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01454, allocations: 294.7 kB / 0.5338 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.01458, allocations: 83.92 kB / 0.5339 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.01465, allocations: 76.2 kB / 0.5339 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01476, allocations: 0.5079 MB / 0.5344 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.01481, allocations: 36.06 kB / 0.5345 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.0149, allocations: 157.7 kB / 0.5346 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.01505, allocations: 216.8 kB / 0.5348 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01505, allocations: 3.938 kB / 0.5348 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003141/0.01537, allocations: 315.1 kB / 0.5351 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01538, allocations: 11.98 kB / 0.5351 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01539, allocations: 4 kB / 0.5351 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.01566, allocations: 123.6 kB / 0.5353 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01579, allocations: 61.47 kB / 0.5353 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.01793, allocations: 5.207 MB / 0.5404 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01804, allocations: 12 kB / 0.5404 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.01805, allocations: 12.92 kB / 0.5404 GB, free: 12.98 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.0001145/0.01817, allocations: 177.4 kB / 0.5406 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01821, allocations: 42.28 kB / 0.5406 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.01824, allocations: 38.27 kB / 0.5407 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01824, allocations: 4 kB / 0.5407 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01825, allocations: 0 / 0.5407 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01825, allocations: 4.078 kB / 0.5407 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.01847, allocations: 209.1 kB / 0.5409 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01847, allocations: 0 / 0.5409 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.01856, allocations: 38.23 kB / 0.5409 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.01879, allocations: 111.4 kB / 0.541 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.0188, allocations: 11.94 kB / 0.541 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.02071, allocations: 5.224 MB / 0.5461 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02071, allocations: 0 / 0.5461 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.02104, allocations: 395.6 kB / 0.5465 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.667e-05/0.02111, allocations: 47.78 kB / 0.5466 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.02112, allocations: 4.094 kB / 0.5466 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.02121, allocations: 13.23 kB / 0.5466 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.02125, allocations: 27.89 kB / 0.5466 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.02126, allocations: 4.5 kB / 0.5466 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.849e-05/0.02134, allocations: 212.9 kB / 0.5468 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.02134, allocations: 1.031 kB / 0.5468 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003183/0.02166, allocations: 96 kB / 0.5469 GB, free: 5.949 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 9.887e-05/0.02176, allocations: 102.1 kB / 0.547 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.02219, allocations: 0.6602 MB / 0.5476 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0222, allocations: 4 kB / 0.5477 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.02245, allocations: 0.5764 MB / 0.5482 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.02275, allocations: 73.45 kB / 0.5483 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.0237, allocations: 0.6491 MB / 0.5489 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.02378, allocations: 136.5 kB / 0.549 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.891e-05/0.02388, allocations: 31.8 kB / 0.5491 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.02402, allocations: 143 kB / 0.5492 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.02402, allocations: 0 / 0.5492 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of Templates: time 0.007227/0.03124, allocations: 4.669 MB / 0.5538 GB, free: 14.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: 3.720080913975835]