Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001246/0.001246, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00146/0.00146, allocations: 169 kB / 23.27 MB, free: 1.223 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.9417/0.9417, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7475/0.7475, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5207 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.328e-05, allocations: 3 kB / 0.5207 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00371/0.003734, allocations: 3.262 MB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005342, allocations: 1.248 MB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.005503, allocations: 16.75 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.005964, allocations: 131.2 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.006312, allocations: 238 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.006617, allocations: 205.2 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000471/0.007088, allocations: 0.6383 MB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.007513, allocations: 351 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.007796, allocations: 348.8 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.00813, allocations: 247.3 kB / 0.5272 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.008174, allocations: 36 kB / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.008339, allocations: 108.5 kB / 0.5274 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.008454, allocations: 167.5 kB / 0.5275 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.008574, allocations: 157.1 kB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.008959, allocations: 402.6 kB / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008963, allocations: 0 / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.183e-06/0.008964, allocations: 0 / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.008969, allocations: 1.344 kB / 0.5281 GB, free: 10.39 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.0007342/0.009703, allocations: 0.7452 MB / 0.5288 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.009738, allocations: 12.03 kB / 0.5288 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.01027, allocations: 192.4 kB / 0.529 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.01055, allocations: 278.4 kB / 0.5293 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.01058, allocations: 25.36 kB / 0.5293 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.01062, allocations: 40.38 kB / 0.5293 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.01101, allocations: 0.5021 MB / 0.5298 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01102, allocations: 192 / 0.5298 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.01105, allocations: 16.38 kB / 0.5298 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.01109, allocations: 36.58 kB / 0.5299 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.01125, allocations: 124.4 kB / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.01292, allocations: 1.985 MB / 0.5319 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01319, allocations: 174.9 kB / 0.5321 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.01324, allocations: 48.42 kB / 0.5321 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.01325, allocations: 4 kB / 0.5321 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01327, allocations: 38.98 kB / 0.5322 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.01328, allocations: 0 / 0.5322 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0009565/0.01423, allocations: 0.6018 MB / 0.5328 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.01426, allocations: 66.17 kB / 0.5328 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01443, allocations: 312 kB / 0.5331 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.01445, allocations: 33.7 kB / 0.5332 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01456, allocations: 282.7 kB / 0.5334 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.01461, allocations: 91.23 kB / 0.5335 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.01468, allocations: 67.62 kB / 0.5336 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.0148, allocations: 0.5079 MB / 0.5341 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.01485, allocations: 32.62 kB / 0.5341 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01495, allocations: 161.4 kB / 0.5343 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01511, allocations: 209.7 kB / 0.5345 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01511, allocations: 7.938 kB / 0.5345 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003409/0.01545, allocations: 308.5 kB / 0.5348 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01547, allocations: 4 kB / 0.5348 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01548, allocations: 5.406 kB / 0.5348 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/0.01578, allocations: 123.4 kB / 0.5349 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01592, allocations: 68.47 kB / 0.535 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.01858, allocations: 5.219 MB / 0.54 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01872, allocations: 8 kB / 0.5401 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01873, allocations: 17.2 kB / 0.5401 GB, free: 13.32 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.0001395/0.01887, allocations: 169.5 kB / 0.5402 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01891, allocations: 48.59 kB / 0.5403 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.01895, allocations: 38.27 kB / 0.5403 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01895, allocations: 0 / 0.5403 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.01895, allocations: 5.062 kB / 0.5403 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01896, allocations: 3.984 kB / 0.5403 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.01918, allocations: 205.1 kB / 0.5405 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01918, allocations: 1.5 kB / 0.5405 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.01927, allocations: 35.97 kB / 0.5406 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.01952, allocations: 124.5 kB / 0.5407 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01953, allocations: 3.938 kB / 0.5407 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.02184, allocations: 5.22 MB / 0.5458 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02184, allocations: 0 / 0.5458 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.02221, allocations: 412.6 kB / 0.5462 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.02229, allocations: 43.81 kB / 0.5462 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.0223, allocations: 4 kB / 0.5462 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.0224, allocations: 13.91 kB / 0.5462 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.02244, allocations: 23.75 kB / 0.5463 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.02245, allocations: 8 kB / 0.5463 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.02254, allocations: 197.1 kB / 0.5464 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02254, allocations: 0.75 kB / 0.5464 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003293/0.02287, allocations: 96 kB / 0.5465 GB, free: 6.297 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.0001195/0.02299, allocations: 101.5 kB / 0.5466 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.0235, allocations: 0.6644 MB / 0.5473 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.0235, allocations: 4 kB / 0.5473 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.02378, allocations: 0.5734 MB / 0.5478 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.02409, allocations: 73 kB / 0.5479 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.02509, allocations: 0.6566 MB / 0.5486 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.773e-05/0.02518, allocations: 133.3 kB / 0.5487 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.02528, allocations: 33.16 kB / 0.5487 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.02542, allocations: 138.8 kB / 0.5489 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.02542, allocations: 0 / 0.5489 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of Templates: time 0.007097/0.03252, allocations: 4.675 MB / 0.5534 GB, free: 15.3 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5762941278517246]