Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0009075/0.0009075, allocations: 81.86 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.0009283/0.0009283, allocations: 169.7 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.8887/0.8887, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.732/0.732, 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.283e-05, allocations: 2.875 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003144/0.003156, allocations: 2.532 MB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004633, allocations: 0.9866 MB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.004743, allocations: 4 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.005129, allocations: 99.39 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.005392, allocations: 136.2 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.005617, allocations: 117.1 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.005961, allocations: 310.9 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.006252, allocations: 185.9 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.006426, allocations: 179.6 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.006663, allocations: 127.6 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.006692, allocations: 16.94 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.006835, allocations: 91.84 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.006913, allocations: 91.73 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.006985, allocations: 77.11 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.0073, allocations: 231.2 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.007302, allocations: 0 / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.745e-06/0.007305, allocations: 5.281 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.007309, allocations: 0 / 0.5261 GB, free: 12.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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005619/0.00787, allocations: 0.5358 MB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.007903, allocations: 8.031 kB / 0.5267 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.008334, allocations: 109.8 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.008535, allocations: 195.3 kB / 0.5269 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.00855, allocations: 13.53 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.008574, allocations: 16.38 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.008832, allocations: 284.1 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.008842, allocations: 192 / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.008862, allocations: 16.36 kB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.008891, allocations: 20.3 kB / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.008994, allocations: 70.81 kB / 0.5274 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01038, allocations: 1.241 MB / 0.5286 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.01051, allocations: 71.05 kB / 0.5286 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.01053, allocations: 20.52 kB / 0.5287 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.01054, allocations: 0.5 kB / 0.5287 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.01056, allocations: 41.33 kB / 0.5287 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.01056, allocations: 0.8438 kB / 0.5287 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002469/0.01081, allocations: 114.5 kB / 0.5288 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.01083, allocations: 51.41 kB / 0.5288 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.01096, allocations: 234.2 kB / 0.5291 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.01097, allocations: 25.7 kB / 0.5291 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.01105, allocations: 212.2 kB / 0.5293 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.01107, allocations: 35.72 kB / 0.5293 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.01112, allocations: 39.36 kB / 0.5294 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.01124, allocations: 0.4923 MB / 0.5299 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.01126, allocations: 14.42 kB / 0.5299 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.01133, allocations: 114.6 kB / 0.53 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.01144, allocations: 139.3 kB / 0.5301 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01144, allocations: 0 / 0.5301 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001867/0.01163, allocations: 150.9 kB / 0.5303 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01164, allocations: 11.94 kB / 0.5303 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01164, allocations: 0 / 0.5303 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.01178, allocations: 38.5 kB / 0.5303 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.01185, allocations: 31.92 kB / 0.5303 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.0128, allocations: 1.727 MB / 0.532 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.01288, allocations: 19.89 kB / 0.532 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.01289, allocations: 4 kB / 0.532 GB, free: 5.875 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.01297, allocations: 165.3 kB / 0.5322 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.013, allocations: 17.28 kB / 0.5322 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.01302, allocations: 21.45 kB / 0.5322 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.01302, allocations: 0 / 0.5322 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01303, allocations: 3.938 kB / 0.5322 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.01303, allocations: 1.469 kB / 0.5322 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.01332, allocations: 345.7 kB / 0.5326 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01332, allocations: 0 / 0.5326 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.01334, allocations: 12.44 kB / 0.5326 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.01344, allocations: 37.72 kB / 0.5326 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.01345, allocations: 0 / 0.5326 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006657/0.01411, allocations: 1.715 MB / 0.5343 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01411, allocations: 0.9375 kB / 0.5343 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01425, allocations: 235.8 kB / 0.5345 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.01428, allocations: 19.88 kB / 0.5345 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.01429, allocations: 5.203 kB / 0.5345 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.01437, allocations: 8 kB / 0.5346 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.01438, allocations: 12.86 kB / 0.5346 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.01439, allocations: 0 / 0.5346 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.01446, allocations: 161.3 kB / 0.5347 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01446, allocations: 0.9062 kB / 0.5347 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002765/0.01473, allocations: 55.78 kB / 0.5348 GB, free: 2.902 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.089e-05/0.0148, allocations: 102.1 kB / 0.5349 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01502, allocations: 241 kB / 0.5351 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01502, allocations: 0 / 0.5351 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.01511, allocations: 193.5 kB / 0.5353 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01539, allocations: 27.92 kB / 0.5353 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.01603, allocations: 358.1 kB / 0.5357 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.01609, allocations: 87.83 kB / 0.5357 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.01615, allocations: 14.92 kB / 0.5357 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.01624, allocations: 98.17 kB / 0.5358 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.01624, allocations: 1.469 kB / 0.5358 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of Templates: time 0.003752/0.01999, allocations: 1.773 MB / 0.5376 GB, free: 52 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5049717617221177]