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.0009816/0.0009816, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009047/0.0009047, allocations: 181 kB / 23.36 MB, free: 1.133 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.9625/0.9625, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.8108/0.8108, 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 1.793e-06/1.793e-06, allocations: 0.9844 kB / 480.3 MB, free: 6.609 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.639e-05, allocations: 2.312 kB / 480.3 MB, free: 6.605 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005311/0.005337, allocations: 3.283 MB / 483.6 MB, free: 3.367 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.008122, allocations: 1.271 MB / 484.9 MB, free: 2.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.008426, allocations: 13.12 kB / 484.9 MB, free: 2.086 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.009034, allocations: 127.3 kB / 485 MB, free: 1.961 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006225/0.009657, allocations: 249 kB / 485.3 MB, free: 1.719 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.01019, allocations: 209.3 kB / 485.5 MB, free: 1.516 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.01106, allocations: 0.635 MB / 486.1 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.01161, allocations: 349.8 kB / 486.5 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.01205, allocations: 348.5 kB / 486.8 MB, free: 200 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.01246, allocations: 228.5 kB / 487 MB, free: 15.97 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.01252, allocations: 44.64 kB / 487.1 MB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.01272, allocations: 107.7 kB / 487.2 MB, free: 15.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.01284, allocations: 168.8 kB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.01297, allocations: 155.7 kB / 487.5 MB, free: 15.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.01345, allocations: 398.7 kB / 487.9 MB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01345, allocations: 1.062 kB / 487.9 MB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01346, allocations: 0 / 487.9 MB, free: 15.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.01346, allocations: 0 / 487.9 MB, free: 15.12 MB / 458.7 MB 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.000727/0.01419, allocations: 0.6155 MB / 488.5 MB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.01422, allocations: 12.03 kB / 488.5 MB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.01484, allocations: 202.7 kB / 488.7 MB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.01516, allocations: 258.2 kB / 488.9 MB, free: 14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01518, allocations: 25.38 kB / 489 MB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.01523, allocations: 33.69 kB / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.01562, allocations: 0.49 MB / 489.5 MB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01563, allocations: 0.7812 kB / 489.5 MB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01565, allocations: 12.38 kB / 489.5 MB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.0157, allocations: 42.58 kB / 489.5 MB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.01585, allocations: 117.4 kB / 489.7 MB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01712, allocations: 1.427 MB / 491.1 MB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.01738, allocations: 159.8 kB / 491.2 MB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.01743, allocations: 40.83 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.01744, allocations: 5.531 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.01746, allocations: 38.56 kB / 491.3 MB, free: 11.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.01747, allocations: 0 / 491.3 MB, free: 11.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004996/0.01796, allocations: 268.4 kB / 491.6 MB, free: 11.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.01799, allocations: 55.34 kB / 491.6 MB, free: 11.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01813, allocations: 258.3 kB / 491.9 MB, free: 10.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.01815, allocations: 25.7 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.01824, allocations: 235.2 kB / 492.2 MB, free: 10.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.01828, allocations: 67.42 kB / 492.2 MB, free: 10.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.01835, allocations: 59.38 kB / 492.3 MB, free: 10.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.01844, allocations: 338.8 kB / 492.6 MB, free: 10.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.01847, allocations: 23.98 kB / 492.6 MB, free: 10.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.01855, allocations: 116.6 kB / 492.7 MB, free: 9.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01869, allocations: 176.8 kB / 492.9 MB, free: 9.789 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0187, allocations: 0 / 492.9 MB, free: 9.789 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002533/0.01895, allocations: 221.8 kB / 493.1 MB, free: 9.562 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01897, allocations: 7.984 kB / 493.1 MB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01897, allocations: 5.344 kB / 493.1 MB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.01921, allocations: 69.67 kB / 493.2 MB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01935, allocations: 64.41 kB / 493.3 MB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.02047, allocations: 2.412 MB / 495.7 MB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.02058, allocations: 33.53 kB / 495.7 MB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.02059, allocations: 12 kB / 495.7 MB, free: 6.777 MB / 458.7 MB 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.0207, allocations: 125.6 kB / 495.9 MB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.02073, allocations: 27.97 kB / 495.9 MB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.02076, allocations: 34.11 kB / 495.9 MB, free: 6.582 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02077, allocations: 4.594 kB / 495.9 MB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.02077, allocations: 4 kB / 495.9 MB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.02077, allocations: 1.562 kB / 495.9 MB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.02096, allocations: 173.6 kB / 496.1 MB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02096, allocations: 0 / 496.1 MB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.02105, allocations: 39.91 kB / 496.1 MB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.02122, allocations: 65.94 kB / 496.2 MB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.02123, allocations: 4 kB / 496.2 MB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.02226, allocations: 2.417 MB / 498.6 MB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02226, allocations: 0 / 498.6 MB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.02251, allocations: 284.1 kB / 498.9 MB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.02256, allocations: 39.73 kB / 498.9 MB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.02258, allocations: 4 kB / 498.9 MB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.02266, allocations: 20.98 kB / 499 MB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.02269, allocations: 7.984 kB / 499 MB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.0227, allocations: 11.98 kB / 499 MB, free: 3.293 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.214e-05/0.02277, allocations: 83.91 kB / 499.1 MB, free: 3.207 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02277, allocations: 0 / 499.1 MB, free: 3.207 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.02304, allocations: 107.8 kB / 499.2 MB, free: 3.102 MB / 458.7 MB 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.833e-05/0.02313, allocations: 86.75 kB / 499.3 MB, free: 3.008 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.02345, allocations: 361.1 kB / 499.6 MB, free: 2.629 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.02346, allocations: 7.25 kB / 499.6 MB, free: 2.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.02362, allocations: 299.5 kB / 499.9 MB, free: 2.305 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.02387, allocations: 71.3 kB / 500 MB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.0249, allocations: 0.6418 MB / 0.4889 GB, free: 1.598 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.021e-05/0.02498, allocations: 124.6 kB / 0.489 GB, free: 1.457 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.02508, allocations: 35.64 kB / 0.489 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.02522, allocations: 106.8 kB / 0.4891 GB, free: 1.328 MB / 458.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02522, allocations: 4 kB / 0.4891 GB, free: 1.324 MB / 458.7 MB Notification: Performance of Templates: time 0.00613/0.03135, allocations: 4.071 MB / 0.4931 GB, free: 13.53 MB / 474.7 MB " [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.862092396710068]