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.0009045/0.0009045, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002324, allocations: 440 kB / 10.41 MB, free: 284 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.000918/0.000918, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002201, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.064/1.064, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09656/1.161, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7996/0.7996, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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.2843/1.084, allocations: 49.05 MB / 447.8 MB, free: 6.598 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 1.233e-06/1.233e-06, allocations: 0 / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.141e-05, allocations: 3.719 kB / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003368/0.00339, allocations: 2.689 MB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.005511, allocations: 1.596 MB / 453.4 MB, free: 1.082 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.005637, allocations: 7.938 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.006052, allocations: 172.5 kB / 453.6 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.006386, allocations: 192.7 kB / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.006916, allocations: 229.4 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.007302, allocations: 361.2 kB / 454.4 MB, free: 148 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.007564, allocations: 152.7 kB / 454.5 MB, free: 15.99 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.007844, allocations: 220.8 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.008102, allocations: 155.5 kB / 454.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.008129, allocations: 20 kB / 454.9 MB, free: 15.6 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.008598, allocations: 328.8 kB / 455.2 MB, free: 15.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.008692, allocations: 79.84 kB / 455.3 MB, free: 15.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.008758, allocations: 75.81 kB / 455.4 MB, free: 15.13 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.009187, allocations: 342.8 kB / 455.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.009199, allocations: 0.6875 kB / 455.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.009201, allocations: 0 / 455.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.009213, allocations: 5.094 kB / 455.7 MB, free: 14.79 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.0005851/0.009798, allocations: 0.5138 MB / 456.2 MB, free: 14.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.009829, allocations: 12.03 kB / 456.2 MB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004995/0.01033, allocations: 217.1 kB / 456.4 MB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.01054, allocations: 197.3 kB / 456.6 MB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.01056, allocations: 12.88 kB / 456.6 MB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.01058, allocations: 20.31 kB / 456.7 MB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.01082, allocations: 268.8 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01083, allocations: 8.125 kB / 456.9 MB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.01085, allocations: 9.438 kB / 456.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.01088, allocations: 29.64 kB / 457 MB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.01099, allocations: 91.31 kB / 457.1 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.0119, allocations: 1.011 MB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.01209, allocations: 180 kB / 458.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.01213, allocations: 40.61 kB / 458.3 MB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.01217, allocations: 8.938 kB / 458.3 MB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.0122, allocations: 48.2 kB / 458.3 MB, free: 11.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.0122, allocations: 0 / 458.3 MB, free: 11.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005339/0.01273, allocations: 254.9 kB / 458.6 MB, free: 11.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.01276, allocations: 81.11 kB / 458.7 MB, free: 11.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01287, allocations: 187.8 kB / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.01289, allocations: 29.7 kB / 458.9 MB, free: 11.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.01295, allocations: 168 kB / 459.1 MB, free: 11.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.01298, allocations: 60.19 kB / 459.1 MB, free: 11.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01304, allocations: 49.64 kB / 459.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.01313, allocations: 332 kB / 459.5 MB, free: 10.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.01316, allocations: 23.98 kB / 459.5 MB, free: 10.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.01324, allocations: 102.1 kB / 459.6 MB, free: 10.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01338, allocations: 166.6 kB / 459.8 MB, free: 10.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01338, allocations: 0 / 459.8 MB, free: 10.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002456/0.01363, allocations: 206.3 kB / 460 MB, free: 10.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01364, allocations: 4.562 kB / 460 MB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01365, allocations: 4.688 kB / 460 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.01388, allocations: 78.28 kB / 460.1 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.014, allocations: 55.91 kB / 460.1 MB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/0.01492, allocations: 1.728 MB / 461.8 MB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.01501, allocations: 21.88 kB / 461.9 MB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01503, allocations: 12 kB / 461.9 MB, free: 8.191 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 8.838e-05/0.01511, allocations: 124.5 kB / 462 MB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.01516, allocations: 23.92 kB / 462 MB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.01542, allocations: 160.7 kB / 462.2 MB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01542, allocations: 4 kB / 462.2 MB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01543, allocations: 5.312 kB / 462.2 MB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01543, allocations: 3.938 kB / 462.2 MB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.01596, allocations: 0.5211 MB / 462.7 MB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01596, allocations: 4 kB / 462.7 MB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.01602, allocations: 23.94 kB / 462.7 MB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.01606, allocations: 32.45 kB / 462.8 MB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.01624, allocations: 69.2 kB / 462.8 MB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01626, allocations: 9.609 kB / 462.8 MB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/0.01708, allocations: 1.74 MB / 464.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01708, allocations: 0 / 464.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.01739, allocations: 451.7 kB / 465 MB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01741, allocations: 8 kB / 465 MB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01751, allocations: 8.609 kB / 465 MB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.01754, allocations: 25.67 kB / 465.1 MB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01755, allocations: 8 kB / 465.1 MB, free: 4.746 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.219e-05/0.0176, allocations: 63.66 kB / 465.1 MB, free: 4.688 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0176, allocations: 0 / 465.1 MB, free: 4.688 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01788, allocations: 75.83 kB / 465.2 MB, free: 4.613 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.0001373/0.01801, allocations: 105.8 kB / 465.3 MB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.01831, allocations: 244.6 kB / 465.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.01833, allocations: 8 kB / 465.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.0185, allocations: 242 kB / 465.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.01886, allocations: 252.8 kB / 466 MB, free: 3.711 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.02088, allocations: 0.4984 MB / 466.5 MB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.089e-05/0.02095, allocations: 96.3 kB / 466.6 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.377e-05/0.02102, allocations: 23.03 kB / 466.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.02112, allocations: 87.34 kB / 466.7 MB, free: 2.949 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02112, allocations: 0 / 466.7 MB, free: 2.949 MB / 442.7 MB Notification: Performance of Templates: time 0.005648/0.02677, allocations: 3.203 MB / 469.9 MB, free: 15.96 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.684072256088257]