Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001116/0.001116, allocations: 92.22 kB / 19.65 MB, free: 276 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.001519/0.001519, allocations: 173 kB / 23.02 MB, free: 1.547 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.982/0.982, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7809/0.7809, allocations: 154.9 MB / 414.8 MB, free: 376 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.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5207 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.606e-05, allocations: 4.281 kB / 0.5207 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001661/0.001677, allocations: 1.448 MB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003198, allocations: 1.927 MB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.003221, allocations: 1.062 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.00397, allocations: 376.2 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.004004, allocations: 17.72 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.425e-06/0.004007, allocations: 0 / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004179, allocations: 135 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.004211, allocations: 5.688 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.004278, allocations: 61.62 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.004358, allocations: 51.83 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.004372, allocations: 4 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.004621, allocations: 176.6 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.004665, allocations: 35.83 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.004718, allocations: 49.27 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.005002, allocations: 286.9 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005004, allocations: 0 / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005005, allocations: 0 / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.005008, allocations: 1.344 kB / 0.5251 GB, free: 13.33 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004527/0.005461, allocations: 0.5152 MB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.005491, allocations: 9.594 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.00559, allocations: 148 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005731, allocations: 271.1 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.005781, allocations: 242.8 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.005829, allocations: 243.7 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.059e-05/0.00588, allocations: 149.5 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004076/0.006288, allocations: 119.4 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.006335, allocations: 243.4 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.006381, allocations: 242.4 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.006429, allocations: 249.6 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.006673, allocations: 0.6382 MB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.006746, allocations: 273.4 kB / 0.5283 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.006775, allocations: 126.9 kB / 0.5285 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.006797, allocations: 119.2 kB / 0.5286 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.006835, allocations: 160.6 kB / 0.5287 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.006836, allocations: 0 / 0.5287 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.794e-05/0.006934, allocations: 57.42 kB / 0.5288 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.006981, allocations: 177.6 kB / 0.5289 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.0072, allocations: 376.1 kB / 0.5293 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.007209, allocations: 25.7 kB / 0.5293 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.00727, allocations: 175.2 kB / 0.5295 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.007271, allocations: 0 / 0.5295 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.007328, allocations: 87.33 kB / 0.5296 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.007434, allocations: 0.5079 MB / 0.5301 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.007472, allocations: 24 kB / 0.5301 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.007544, allocations: 113.6 kB / 0.5302 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.007661, allocations: 167.2 kB / 0.5304 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007662, allocations: 0 / 0.5304 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002533/0.007916, allocations: 181.4 kB / 0.5305 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.007928, allocations: 10.84 kB / 0.5305 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.007933, allocations: 0 / 0.5305 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007947, allocations: 8.609 kB / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-06/0.007953, allocations: 8.375 kB / 0.5306 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.00796, allocations: 4 kB / 0.5306 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.00803, allocations: 26.2 kB / 0.5306 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.008038, allocations: 4 kB / 0.5306 GB, free: 7.465 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.008133, allocations: 283.8 kB / 0.5309 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.008194, allocations: 172.7 kB / 0.531 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.008231, allocations: 153.7 kB / 0.5312 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/0.008284, allocations: 270.5 kB / 0.5314 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/0.008345, allocations: 272 kB / 0.5317 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/0.008399, allocations: 268.1 kB / 0.5319 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.008603, allocations: 0.5506 MB / 0.5325 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/0.008633, allocations: 148.9 kB / 0.5326 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.00866, allocations: 144.9 kB / 0.5328 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.848e-05/0.008719, allocations: 269.8 kB / 0.533 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.00878, allocations: 272.1 kB / 0.5333 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/0.00884, allocations: 272 kB / 0.5335 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-05/0.008893, allocations: 268.1 kB / 0.5338 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.00927, allocations: 459.8 kB / 0.5342 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.009339, allocations: 173.8 kB / 0.5344 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.00943, allocations: 272.3 kB / 0.5347 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.009516, allocations: 156.8 kB / 0.5348 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.009577, allocations: 274.4 kB / 0.5351 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.009609, allocations: 152.9 kB / 0.5352 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001176/0.009726, allocations: 217.1 kB / 0.5354 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009727, allocations: 0 / 0.5354 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002345/0.009961, allocations: 71.86 kB / 0.5355 GB, free: 2.254 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.01023, allocations: 318 kB / 0.5358 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01035, allocations: 67.61 kB / 0.5359 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01036, allocations: 0.9688 kB / 0.5359 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.01036, allocations: 3.938 kB / 0.5359 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.01066, allocations: 0.7112 MB / 0.5366 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.0112, allocations: 407.7 kB / 0.537 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.01124, allocations: 81.89 kB / 0.537 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.049e-05/0.01125, allocations: 4 kB / 0.537 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.01127, allocations: 9.625 kB / 0.537 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01127, allocations: 0 / 0.537 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of Templates: time 0.006514/0.01778, allocations: 3.229 MB / 0.5402 GB, free: 13.54 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.688758967909962]