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.001031/0.001031, allocations: 80.94 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.001404/0.001404, allocations: 173 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 1.147/1.147, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8284/0.8284, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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 1.482e-06/1.482e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.908e-05, allocations: 4.562 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00395/0.003979, allocations: 2.635 MB / 482.7 MB, free: 4.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.006112, allocations: 1.579 MB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.006246, allocations: 8.562 kB / 484.2 MB, free: 2.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.006718, allocations: 144 kB / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.007071, allocations: 168.3 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.007561, allocations: 229 kB / 484.8 MB, free: 2.203 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.007931, allocations: 340.7 kB / 485.1 MB, free: 1.871 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.008193, allocations: 163.5 kB / 485.3 MB, free: 1.707 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.008461, allocations: 189.1 kB / 485.4 MB, free: 1.523 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.00872, allocations: 135.6 kB / 485.6 MB, free: 1.391 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.00875, allocations: 24 kB / 485.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.009265, allocations: 319.3 kB / 485.9 MB, free: 1.055 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.009382, allocations: 100.6 kB / 486 MB, free: 0.957 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.009458, allocations: 79.83 kB / 486.1 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.009983, allocations: 383.4 kB / 486.5 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.009987, allocations: 0 / 486.5 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009988, allocations: 4.625 kB / 486.5 MB, free: 0.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.009994, allocations: 1.125 kB / 486.5 MB, free: 0.5 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005782/0.01057, allocations: 459 kB / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.01061, allocations: 17.16 kB / 486.9 MB, free: 16 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.0112, allocations: 148.5 kB / 487.1 MB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.01145, allocations: 187.7 kB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.01146, allocations: 16.88 kB / 487.3 MB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.01148, allocations: 16.38 kB / 487.3 MB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.01177, allocations: 273 kB / 487.6 MB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01178, allocations: 4.188 kB / 487.6 MB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.0118, allocations: 8.375 kB / 487.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.01183, allocations: 33.45 kB / 487.6 MB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.01197, allocations: 82.36 kB / 487.7 MB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01302, allocations: 1.028 MB / 488.7 MB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01322, allocations: 184.5 kB / 488.9 MB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.01327, allocations: 41.11 kB / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.01332, allocations: 11.98 kB / 488.9 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01334, allocations: 39.48 kB / 489 MB, free: 13.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.01335, allocations: 0 / 489 MB, free: 13.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005783/0.01392, allocations: 243.7 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.01396, allocations: 81.64 kB / 489.3 MB, free: 13.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01407, allocations: 190.5 kB / 489.5 MB, free: 13.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.01408, allocations: 31.17 kB / 489.5 MB, free: 13.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.01415, allocations: 164.1 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.01418, allocations: 63.47 kB / 489.7 MB, free: 13.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.01424, allocations: 49.64 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.01432, allocations: 331.6 kB / 490.1 MB, free: 12.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.01436, allocations: 20 kB / 490.1 MB, free: 12.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.01443, allocations: 106.7 kB / 490.2 MB, free: 12.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.01457, allocations: 154.8 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01457, allocations: 5.688 kB / 490.4 MB, free: 12.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002739/0.01485, allocations: 206 kB / 490.6 MB, free: 12.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01486, allocations: 4 kB / 490.6 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01487, allocations: 4 kB / 490.6 MB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.01511, allocations: 75.64 kB / 490.7 MB, free: 12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01524, allocations: 47.97 kB / 490.7 MB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/0.0161, allocations: 1.73 MB / 492.5 MB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.01619, allocations: 27.78 kB / 492.5 MB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.0162, allocations: 9.281 kB / 492.5 MB, free: 10.07 MB / 458.7 MB 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 (27): * Single equations (assignments): 25 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.322e-05/0.01628, allocations: 125.3 kB / 492.6 MB, free: 9.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.01632, allocations: 20.86 kB / 492.6 MB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.01658, allocations: 168.5 kB / 492.8 MB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01658, allocations: 0.5 kB / 492.8 MB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01659, allocations: 4.781 kB / 492.8 MB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01659, allocations: 7.984 kB / 492.8 MB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.01711, allocations: 0.5247 MB / 493.3 MB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01711, allocations: 4 kB / 493.3 MB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.01717, allocations: 33.7 kB / 493.4 MB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.01733, allocations: 67.33 kB / 493.4 MB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.01734, allocations: 4.875 kB / 493.4 MB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007846/0.01813, allocations: 1.73 MB / 495.2 MB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01813, allocations: 4 kB / 495.2 MB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.01853, allocations: 453.9 kB / 495.6 MB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.01858, allocations: 32.34 kB / 495.7 MB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.0186, allocations: 8.859 kB / 495.7 MB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.0187, allocations: 8 kB / 495.7 MB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.01873, allocations: 28.5 kB / 495.7 MB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.01874, allocations: 6.062 kB / 495.7 MB, free: 6.613 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.01879, allocations: 55.67 kB / 495.8 MB, free: 6.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01879, allocations: 0 / 495.8 MB, free: 6.562 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.01907, allocations: 79.83 kB / 495.8 MB, free: 6.484 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.01921, allocations: 107.2 kB / 495.9 MB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.01951, allocations: 237.7 kB / 496.2 MB, free: 6.129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.01951, allocations: 4 kB / 496.2 MB, free: 6.125 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.01963, allocations: 172.1 kB / 496.3 MB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01992, allocations: 44.41 kB / 496.4 MB, free: 5.902 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.02074, allocations: 485.2 kB / 496.9 MB, free: 5.383 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.0208, allocations: 100.2 kB / 497 MB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.534e-05/0.02088, allocations: 22.55 kB / 497 MB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.02096, allocations: 75.36 kB / 497.1 MB, free: 5.172 MB / 458.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02097, allocations: 0.5312 kB / 497.1 MB, free: 5.172 MB / 458.7 MB Notification: Performance of Templates: time 0.00739/0.02836, allocations: 3.144 MB / 0.4885 GB, free: 2.25 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9158970499411225]