Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006858/0.0006858, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008848/0.001571, 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.0007527/0.0007527, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001643, 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.9396/0.9396, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09521/1.035, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.8899/0.8899, allocations: 155.3 MB / 399.3 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.2749/1.165, allocations: 49.12 MB / 448.4 MB, free: 6.012 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.391e-05, allocations: 7.578 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004008/0.004032, allocations: 2.672 MB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.005916, allocations: 1.603 MB / 454 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.006006, allocations: 7.938 kB / 454 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.006326, allocations: 171.8 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.006552, allocations: 189.9 kB / 454.3 MB, free: 160 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.006899, allocations: 231.2 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.00717, allocations: 361.6 kB / 454.9 MB, free: 15.58 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.00736, allocations: 161.4 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.007579, allocations: 215.4 kB / 455.3 MB, free: 15.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.007787, allocations: 149.6 kB / 455.4 MB, free: 15.06 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.007811, allocations: 20 kB / 455.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.008166, allocations: 323.3 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.008242, allocations: 83.77 kB / 455.8 MB, free: 14.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.008308, allocations: 71.88 kB / 455.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.008652, allocations: 340.3 kB / 456.2 MB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.008661, allocations: 0 / 456.2 MB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008662, allocations: 0 / 456.2 MB, free: 14.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.008672, allocations: 0 / 456.2 MB, free: 14.24 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.0004759/0.009148, allocations: 0.5318 MB / 456.8 MB, free: 13.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.009174, allocations: 12.03 kB / 456.8 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.009628, allocations: 213.8 kB / 457 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.009971, allocations: 194.5 kB / 457.2 MB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.009983, allocations: 20.86 kB / 457.2 MB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.01, allocations: 16.38 kB / 457.2 MB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.01024, allocations: 268.4 kB / 457.5 MB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.01024, allocations: 1.906 kB / 457.5 MB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.01026, allocations: 9.594 kB / 457.5 MB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.01029, allocations: 28.42 kB / 457.5 MB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.0104, allocations: 88.16 kB / 457.6 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.01128, allocations: 1.018 MB / 458.6 MB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01147, allocations: 185.8 kB / 458.8 MB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.01151, allocations: 38.92 kB / 458.8 MB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.01155, allocations: 11.98 kB / 458.8 MB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.01157, allocations: 35.41 kB / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.01157, allocations: 2.672 kB / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004952/0.01207, allocations: 252.4 kB / 459.1 MB, free: 11.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.01209, allocations: 81.11 kB / 459.2 MB, free: 11.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.0122, allocations: 194.4 kB / 459.4 MB, free: 10.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01221, allocations: 33.7 kB / 459.4 MB, free: 10.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.01227, allocations: 161.4 kB / 459.6 MB, free: 10.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.0123, allocations: 55.53 kB / 459.6 MB, free: 10.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.01235, allocations: 57.61 kB / 459.7 MB, free: 10.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.01243, allocations: 331.8 kB / 460 MB, free: 10.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.01246, allocations: 23.98 kB / 460 MB, free: 10.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.01252, allocations: 101.1 kB / 460.1 MB, free: 10.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01264, allocations: 153.8 kB / 460.3 MB, free: 9.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01264, allocations: 8.625 kB / 460.3 MB, free: 9.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002216/0.01286, allocations: 199.3 kB / 460.5 MB, free: 9.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.01287, allocations: 4 kB / 460.5 MB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01288, allocations: 5.781 kB / 460.5 MB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.01309, allocations: 72.47 kB / 460.6 MB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.0132, allocations: 52.95 kB / 460.6 MB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008299/0.01403, allocations: 1.735 MB / 462.4 MB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.01411, allocations: 23.88 kB / 462.4 MB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01412, allocations: 9.75 kB / 462.4 MB, free: 7.641 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.978e-05/0.01421, allocations: 124.5 kB / 462.5 MB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01425, allocations: 24.7 kB / 462.5 MB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.01451, allocations: 168.1 kB / 462.7 MB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01451, allocations: 4 kB / 462.7 MB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01452, allocations: 5.844 kB / 462.7 MB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01452, allocations: 0 / 462.7 MB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.01499, allocations: 0.5093 MB / 463.2 MB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.01499, allocations: 7.984 kB / 463.2 MB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.01505, allocations: 27.94 kB / 463.3 MB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.01509, allocations: 27.84 kB / 463.3 MB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.01525, allocations: 78.23 kB / 463.4 MB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01526, allocations: 13.81 kB / 463.4 MB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000894/0.01615, allocations: 1.729 MB / 465.1 MB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.01616, allocations: 7.938 kB / 465.1 MB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.01641, allocations: 459.4 kB / 465.6 MB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01643, allocations: 4 kB / 465.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.01652, allocations: 8 kB / 465.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.01654, allocations: 20.84 kB / 465.6 MB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01655, allocations: 8 kB / 465.6 MB, free: 4.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.01659, allocations: 61.58 kB / 465.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01659, allocations: 3.938 kB / 465.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.01684, allocations: 79.83 kB / 465.7 MB, free: 4.059 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.0001196/0.01696, allocations: 104.3 kB / 465.8 MB, free: 3.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01721, allocations: 240.3 kB / 466.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.01722, allocations: 5.875 kB / 466.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.01733, allocations: 180.7 kB / 466.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01757, allocations: 50.44 kB / 466.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.01951, allocations: 0.4996 MB / 466.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.01957, allocations: 100.9 kB / 466.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.01964, allocations: 25.58 kB / 466.9 MB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.01973, allocations: 80.42 kB / 467 MB, free: 2.699 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01973, allocations: 0 / 467 MB, free: 2.699 MB / 442.7 MB Notification: Performance of Templates: time 0.005036/0.02476, allocations: 3.207 MB / 470.2 MB, free: 15.71 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.64087644405663]