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.0008298/0.0008298, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002188, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001193/0.001193, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002612, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.04/1.04, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09545/1.136, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7799/0.7799, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2881/1.068, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.614e-06/1.614e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.267e-05, allocations: 3.469 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005284/0.005306, allocations: 3.381 MB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.007769, allocations: 1.302 MB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.008002, allocations: 16.75 kB / 454.4 MB, free: 112 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.008552, allocations: 151.7 kB / 454.5 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.009097, allocations: 280.7 kB / 454.8 MB, free: 15.69 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.009588, allocations: 197.4 kB / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008455/0.01043, allocations: 0.6887 MB / 455.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.01094, allocations: 338.3 kB / 456 MB, free: 14.48 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.01146, allocations: 387.8 kB / 456.4 MB, free: 14.1 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.01202, allocations: 266.7 kB / 456.6 MB, free: 13.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.0121, allocations: 36 kB / 456.7 MB, free: 13.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.0124, allocations: 123.7 kB / 456.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.01255, allocations: 131.6 kB / 456.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01271, allocations: 128.5 kB / 457 MB, free: 13.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.01326, allocations: 370.8 kB / 457.4 MB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.01328, allocations: 1.438 kB / 457.4 MB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01328, allocations: 0 / 457.4 MB, free: 13.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.01331, allocations: 0 / 457.4 MB, free: 13.07 MB / 442.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.001147/0.01445, allocations: 0.7066 MB / 458.1 MB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.01449, allocations: 12.59 kB / 458.1 MB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009253/0.01542, allocations: 275.2 kB / 458.4 MB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.01581, allocations: 262.6 kB / 458.7 MB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01584, allocations: 34.27 kB / 458.7 MB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.0159, allocations: 32.38 kB / 458.7 MB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.01644, allocations: 498.7 kB / 459.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01645, allocations: 192 / 459.2 MB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.01649, allocations: 12.38 kB / 459.2 MB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.01654, allocations: 41.7 kB / 459.3 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.01678, allocations: 114.3 kB / 459.4 MB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.01851, allocations: 1.428 MB / 460.8 MB, free: 9.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.01885, allocations: 158.3 kB / 461 MB, free: 9.344 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.01893, allocations: 37.91 kB / 461 MB, free: 9.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.01894, allocations: 7.953 kB / 461 MB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.01898, allocations: 39.47 kB / 461 MB, free: 9.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.01898, allocations: 0 / 461 MB, free: 9.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007148/0.01969, allocations: 265 kB / 461.3 MB, free: 8.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.01973, allocations: 64.72 kB / 461.4 MB, free: 8.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.01995, allocations: 252.8 kB / 461.6 MB, free: 8.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01996, allocations: 25.7 kB / 461.6 MB, free: 8.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.02005, allocations: 231.9 kB / 461.9 MB, free: 8.395 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.02009, allocations: 68.48 kB / 461.9 MB, free: 8.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.02015, allocations: 57.62 kB / 462 MB, free: 8.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.02023, allocations: 343.5 kB / 462.3 MB, free: 7.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.02027, allocations: 24.58 kB / 462.3 MB, free: 7.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.02035, allocations: 115 kB / 462.4 MB, free: 7.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.0205, allocations: 173.6 kB / 462.6 MB, free: 7.547 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0205, allocations: 0 / 462.6 MB, free: 7.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002695/0.02077, allocations: 225 kB / 462.8 MB, free: 7.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.02078, allocations: 4 kB / 462.8 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.0208, allocations: 13.25 kB / 462.9 MB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.02103, allocations: 73.33 kB / 462.9 MB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.02121, allocations: 78.39 kB / 463 MB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.02237, allocations: 2.416 MB / 465.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.02248, allocations: 33.39 kB / 465.5 MB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.02249, allocations: 12 kB / 465.5 MB, free: 4.516 MB / 442.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 8.933e-05/0.02258, allocations: 125.6 kB / 465.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.02261, allocations: 23.97 kB / 465.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.02264, allocations: 30.12 kB / 465.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02265, allocations: 9.547 kB / 465.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.02265, allocations: 0 / 465.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02266, allocations: 5.422 kB / 465.7 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.02284, allocations: 173.6 kB / 465.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02284, allocations: 0 / 465.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.02296, allocations: 52.47 kB / 465.9 MB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.02301, allocations: 36.67 kB / 465.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.02317, allocations: 62.33 kB / 466 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.02318, allocations: 8 kB / 466 MB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.02423, allocations: 2.409 MB / 468.4 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02423, allocations: 0 / 468.4 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.02448, allocations: 286 kB / 468.7 MB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.0245, allocations: 12.7 kB / 468.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.02458, allocations: 13.28 kB / 468.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.02461, allocations: 15.97 kB / 468.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.02462, allocations: 8 kB / 468.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.271e-05/0.02468, allocations: 82.77 kB / 468.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02468, allocations: 1.562 kB / 468.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.02495, allocations: 107.8 kB / 468.9 MB, free: 0.8398 MB / 442.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.848e-05/0.02504, allocations: 85.77 kB / 469 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.02536, allocations: 357 kB / 469.3 MB, free: 380 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.02537, allocations: 4.625 kB / 469.3 MB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.02552, allocations: 294.3 kB / 469.6 MB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.02581, allocations: 102.1 kB / 469.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.02848, allocations: 0.6358 MB / 470.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.563e-05/0.02856, allocations: 127 kB / 470.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.02869, allocations: 30.56 kB / 470.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.02883, allocations: 116.4 kB / 470.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02883, allocations: 0 / 470.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of Templates: time 0.006012/0.03484, allocations: 4.237 MB / 474.9 MB, free: 11.09 MB / 458.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.667701216414571]