Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001305/0.001305, allocations: 93.06 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.001546/0.001546, allocations: 165 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 1.117/1.117, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.8321/0.8321, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 4 kB / 0.5203 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.293e-05, allocations: 3.188 kB / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006759/0.006792, allocations: 2.594 MB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.01014, allocations: 1.569 MB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.0103, allocations: 8.875 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.01093, allocations: 147.3 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.01141, allocations: 168.4 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.012, allocations: 240.9 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.01237, allocations: 334.8 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.01266, allocations: 150.3 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.01292, allocations: 195.5 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.01319, allocations: 136.7 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.01322, allocations: 20 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.01363, allocations: 315.3 kB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.01373, allocations: 92.25 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.01381, allocations: 81.77 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.01432, allocations: 390.7 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01432, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01432, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.01433, allocations: 0 / 0.5265 GB, free: 11.85 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007177/0.01505, allocations: 0.5869 MB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.01509, allocations: 8.031 kB / 0.5271 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.01566, allocations: 167.3 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.01595, allocations: 215.6 kB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.01597, allocations: 16.88 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.01599, allocations: 16.38 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.01633, allocations: 294.1 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01635, allocations: 13.61 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.01637, allocations: 4.375 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.01641, allocations: 32.42 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.0166, allocations: 115.3 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.01795, allocations: 1.402 MB / 0.5293 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.01822, allocations: 176.3 kB / 0.5295 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.01829, allocations: 51.36 kB / 0.5295 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.699e-05/0.01835, allocations: 11.98 kB / 0.5295 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.01838, allocations: 41.33 kB / 0.5296 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.925e-06/0.01838, allocations: 2.438 kB / 0.5296 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001289/0.01967, allocations: 0.5537 MB / 0.5301 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01972, allocations: 81.11 kB / 0.5302 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01991, allocations: 254.5 kB / 0.5305 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.01992, allocations: 33.7 kB / 0.5305 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.02002, allocations: 219.1 kB / 0.5307 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.02007, allocations: 88.25 kB / 0.5308 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.02015, allocations: 67.31 kB / 0.5308 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.02027, allocations: 0.511 MB / 0.5313 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.02035, allocations: 47.97 kB / 0.5314 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.02048, allocations: 168.9 kB / 0.5315 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.02071, allocations: 237.2 kB / 0.5318 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02071, allocations: 4 kB / 0.5318 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005048/0.02122, allocations: 338.4 kB / 0.5321 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.02124, allocations: 9.406 kB / 0.5321 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.02125, allocations: 0 / 0.5321 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.02166, allocations: 134.9 kB / 0.5322 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.02182, allocations: 55.91 kB / 0.5323 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.02426, allocations: 5.125 MB / 0.5373 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.02438, allocations: 19.98 kB / 0.5373 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.0244, allocations: 12 kB / 0.5373 GB, free: 108 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.02455, allocations: 177.3 kB / 0.5375 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.0246, allocations: 28.92 kB / 0.5375 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.02509, allocations: 289.5 kB / 0.5378 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02509, allocations: 5.469 kB / 0.5378 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.0251, allocations: 4 kB / 0.5378 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.0251, allocations: 3.984 kB / 0.5378 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.02598, allocations: 0.7412 MB / 0.5385 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02599, allocations: 4.781 kB / 0.5385 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.02606, allocations: 31.92 kB / 0.5386 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.02637, allocations: 135.5 kB / 0.5387 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.02639, allocations: 8 kB / 0.5387 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.02854, allocations: 5.108 MB / 0.5437 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.02854, allocations: 5.562 kB / 0.5437 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.02904, allocations: 0.5894 MB / 0.5443 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.02911, allocations: 53.16 kB / 0.5443 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.02913, allocations: 4 kB / 0.5443 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.02925, allocations: 23.97 kB / 0.5444 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.02929, allocations: 24.41 kB / 0.5444 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.02931, allocations: 17.47 kB / 0.5444 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001042/0.02942, allocations: 179.1 kB / 0.5446 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02942, allocations: 0 / 0.5446 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003946/0.02981, allocations: 99.86 kB / 0.5447 GB, free: 8.094 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.03001, allocations: 137.3 kB / 0.5448 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.03058, allocations: 0.558 MB / 0.5453 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03058, allocations: 0 / 0.5453 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.03087, allocations: 451.4 kB / 0.5458 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.03121, allocations: 46.52 kB / 0.5458 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.03227, allocations: 0.5813 MB / 0.5464 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.03238, allocations: 112.2 kB / 0.5465 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000109/0.03249, allocations: 47.28 kB / 0.5465 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.03254, allocations: 24.5 kB / 0.5466 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of SimCode: time 8.71e-07/0.03254, allocations: 0 / 0.5466 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.006412/0.03895, allocations: 4.216 MB / 0.5507 GB, free: 1.949 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1061452478170395]