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.0006521/0.0006521, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008823/0.001534, 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.000709/0.000709, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008914/0.0016, 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 0.9454/0.9454, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09351/1.039, allocations: 53.66 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/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.8731/0.8731, allocations: 154.6 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2816/1.155, allocations: 49.04 MB / 447.6 MB, free: 6.668 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/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.725e-06/2.725e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.926e-05, allocations: 4.422 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004997/0.005036, allocations: 2.682 MB / 451.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.007664, allocations: 1.595 MB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.007819, allocations: 8 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.008372, allocations: 179.9 kB / 453.3 MB, free: 1.004 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.008788, allocations: 192.9 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.009414, allocations: 227.6 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.009882, allocations: 365.2 kB / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.01017, allocations: 152.5 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.01053, allocations: 211.4 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.01088, allocations: 161.1 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.01092, allocations: 21.22 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.01167, allocations: 315.3 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01179, allocations: 83.78 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.01189, allocations: 68.53 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.01251, allocations: 350.8 kB / 455.4 MB, free: 14.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.427e-05/0.01253, allocations: 5.188 kB / 455.4 MB, free: 14.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01253, allocations: 0 / 455.4 MB, free: 14.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.887e-05/0.01256, allocations: 0 / 455.4 MB, free: 14.9 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.001064/0.01363, allocations: 0.5186 MB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.01368, allocations: 8.031 kB / 456 MB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.01455, allocations: 219.8 kB / 456.2 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.01488, allocations: 193.3 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.01491, allocations: 16.88 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.01494, allocations: 21.28 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.01532, allocations: 267.9 kB / 456.7 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01533, allocations: 5 kB / 456.7 MB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.01536, allocations: 12.36 kB / 456.7 MB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.01541, allocations: 29.33 kB / 456.7 MB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.01559, allocations: 80 kB / 456.8 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.01699, allocations: 1.027 MB / 457.8 MB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.01726, allocations: 175.9 kB / 458 MB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.01733, allocations: 39.05 kB / 458 MB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.01739, allocations: 13.72 kB / 458 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.01742, allocations: 34.55 kB / 458.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.01743, allocations: 3.938 kB / 458.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007766/0.0182, allocations: 263.8 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.01824, allocations: 77.8 kB / 458.4 MB, free: 11.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01839, allocations: 194.2 kB / 458.6 MB, free: 11.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01841, allocations: 30.27 kB / 458.6 MB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.0185, allocations: 176 kB / 458.8 MB, free: 11.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.01853, allocations: 52.75 kB / 458.8 MB, free: 11.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.01862, allocations: 49.64 kB / 458.9 MB, free: 11.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.01872, allocations: 334.8 kB / 459.2 MB, free: 10.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.01877, allocations: 25.06 kB / 459.2 MB, free: 10.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.01886, allocations: 98.16 kB / 459.3 MB, free: 10.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.01904, allocations: 161.6 kB / 459.5 MB, free: 10.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01904, allocations: 0.8438 kB / 459.5 MB, free: 10.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003674/0.01941, allocations: 198.7 kB / 459.7 MB, free: 10.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.01943, allocations: 8.594 kB / 459.7 MB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01944, allocations: 0 / 459.7 MB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.01977, allocations: 70.77 kB / 459.8 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.01995, allocations: 59.84 kB / 459.8 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.02109, allocations: 1.729 MB / 461.6 MB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.02121, allocations: 24.91 kB / 461.6 MB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.02123, allocations: 8 kB / 461.6 MB, free: 8.305 MB / 442.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 0.0001236/0.02135, allocations: 134.9 kB / 461.7 MB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.02141, allocations: 26.92 kB / 461.7 MB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.02175, allocations: 155.9 kB / 461.9 MB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.02176, allocations: 7.984 kB / 461.9 MB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.02176, allocations: 3.938 kB / 461.9 MB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.02177, allocations: 1.906 kB / 461.9 MB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.02245, allocations: 0.5077 MB / 462.4 MB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.02245, allocations: 0.75 kB / 462.4 MB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.02254, allocations: 27.98 kB / 462.4 MB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.0226, allocations: 40.33 kB / 462.5 MB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.02283, allocations: 70.06 kB / 462.6 MB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.02284, allocations: 8 kB / 462.6 MB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009994/0.02384, allocations: 1.741 MB / 464.3 MB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02384, allocations: 0 / 464.3 MB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.02423, allocations: 456.1 kB / 464.7 MB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.02426, allocations: 7.938 kB / 464.8 MB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02441, allocations: 9.25 kB / 464.8 MB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.02444, allocations: 23.84 kB / 464.8 MB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.02446, allocations: 8 kB / 464.8 MB, free: 4.855 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.02452, allocations: 56.86 kB / 464.9 MB, free: 4.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02452, allocations: 0 / 464.9 MB, free: 4.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000415/0.02494, allocations: 75.89 kB / 464.9 MB, free: 4.727 MB / 442.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.0001796/0.02512, allocations: 110.2 kB / 465 MB, free: 4.613 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003456/0.02857, allocations: 233.9 kB / 465.3 MB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/0.02859, allocations: 4 kB / 465.3 MB, free: 4.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.02875, allocations: 182.7 kB / 465.4 MB, free: 4.176 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.02907, allocations: 49.86 kB / 465.5 MB, free: 4.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.03117, allocations: 0.5058 MB / 466 MB, free: 3.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.03124, allocations: 92.31 kB / 466.1 MB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.508e-05/0.03132, allocations: 36.64 kB / 466.1 MB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.03141, allocations: 75.36 kB / 466.2 MB, free: 3.363 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/0.03142, allocations: 0.6562 kB / 466.2 MB, free: 3.363 MB / 442.7 MB Notification: Performance of Templates: time 0.005169/0.03658, allocations: 3.199 MB / 469.4 MB, free: 388 kB / 442.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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6984221022576094]