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.0009698/0.0009698, allocations: 80.75 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.001051/0.001051, allocations: 181 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.7656/0.7656, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.122e-06/1.122e-06, allocations: 0 / 480 MB, free: 6.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/1.964e-05, allocations: 5.484 kB / 480 MB, free: 6.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00643/0.00645, allocations: 2.606 MB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.008539, allocations: 1.582 MB / 484.2 MB, free: 2.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.008635, allocations: 7.938 kB / 484.2 MB, free: 2.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.009056, allocations: 140.5 kB / 484.3 MB, free: 2.684 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.009352, allocations: 169 kB / 484.5 MB, free: 2.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.009768, allocations: 247.7 kB / 484.7 MB, free: 2.277 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.01008, allocations: 334.2 kB / 485 MB, free: 1.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.01031, allocations: 163.9 kB / 485.2 MB, free: 1.789 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.01054, allocations: 188.2 kB / 485.4 MB, free: 1.605 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.01077, allocations: 140.9 kB / 485.5 MB, free: 1.469 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.0108, allocations: 20 kB / 485.5 MB, free: 1.449 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.01116, allocations: 307.3 kB / 485.8 MB, free: 1.148 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.01124, allocations: 100.2 kB / 485.9 MB, free: 1.051 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.01132, allocations: 79.83 kB / 486 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.01175, allocations: 383.8 kB / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01175, allocations: 0 / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01176, allocations: 0 / 486.4 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.01176, allocations: 0.7188 kB / 486.4 MB, free: 0.5977 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.0005128/0.01227, allocations: 463.9 kB / 486.8 MB, free: 128 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.0123, allocations: 8.656 kB / 486.8 MB, free: 120 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.0129, allocations: 141.4 kB / 487 MB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.01312, allocations: 198.5 kB / 487.2 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.01313, allocations: 21.44 kB / 487.2 MB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.01317, allocations: 20.97 kB / 487.2 MB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.01346, allocations: 272.5 kB / 487.5 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01346, allocations: 0.7812 kB / 487.5 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.01349, allocations: 8.375 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.01352, allocations: 30.08 kB / 487.5 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.01367, allocations: 85.16 kB / 487.6 MB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01476, allocations: 1.024 MB / 488.6 MB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.01499, allocations: 182.7 kB / 488.8 MB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.01504, allocations: 43.3 kB / 488.9 MB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.01509, allocations: 11.98 kB / 488.9 MB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01511, allocations: 34.56 kB / 488.9 MB, free: 13.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.01511, allocations: 0.875 kB / 488.9 MB, free: 13.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006232/0.01573, allocations: 236.8 kB / 489.1 MB, free: 13.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.01577, allocations: 89.03 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.01589, allocations: 186.5 kB / 489.4 MB, free: 13.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.0159, allocations: 29.7 kB / 489.4 MB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.01596, allocations: 168.9 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.01599, allocations: 59.47 kB / 489.7 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.01604, allocations: 50.33 kB / 489.7 MB, free: 13.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.01611, allocations: 326.8 kB / 490 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.01615, allocations: 25.3 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.01621, allocations: 108.4 kB / 490.2 MB, free: 12.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.01635, allocations: 154.4 kB / 490.3 MB, free: 12.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01636, allocations: 5.344 kB / 490.3 MB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003657/0.01672, allocations: 207.1 kB / 490.5 MB, free: 12.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01674, allocations: 4 kB / 490.5 MB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01674, allocations: 4 kB / 490.5 MB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.01703, allocations: 74.42 kB / 490.6 MB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01719, allocations: 47.92 kB / 490.6 MB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.01822, allocations: 1.724 MB / 492.4 MB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01834, allocations: 28.62 kB / 492.4 MB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01836, allocations: 4 kB / 492.4 MB, free: 10.18 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 0.0001014/0.01846, allocations: 139.3 kB / 492.5 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.01852, allocations: 19.92 kB / 492.5 MB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.01885, allocations: 165.6 kB / 492.7 MB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01885, allocations: 2.219 kB / 492.7 MB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01885, allocations: 3.938 kB / 492.7 MB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01886, allocations: 4 kB / 492.7 MB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.01956, allocations: 0.5212 MB / 493.2 MB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01957, allocations: 4.531 kB / 493.2 MB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.01965, allocations: 26.2 kB / 493.3 MB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.01987, allocations: 72.33 kB / 493.3 MB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01988, allocations: 3.984 kB / 493.3 MB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009759/0.02085, allocations: 1.738 MB / 495.1 MB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.02086, allocations: 0 / 495.1 MB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.02124, allocations: 453.3 kB / 495.5 MB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.02132, allocations: 43.75 kB / 495.6 MB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.02134, allocations: 7.984 kB / 495.6 MB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02149, allocations: 8 kB / 495.6 MB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.02152, allocations: 12.89 kB / 495.6 MB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.02154, allocations: 8 kB / 495.6 MB, free: 6.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.02161, allocations: 63.61 kB / 495.7 MB, free: 6.664 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02161, allocations: 1.031 kB / 495.7 MB, free: 6.664 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.02205, allocations: 79.83 kB / 495.7 MB, free: 6.586 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.0001686/0.02222, allocations: 109.9 kB / 495.9 MB, free: 6.473 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.02258, allocations: 233.4 kB / 496.1 MB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.02258, allocations: 0 / 496.1 MB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.02276, allocations: 176.9 kB / 496.3 MB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.02315, allocations: 34.33 kB / 496.3 MB, free: 6.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.02414, allocations: 486.7 kB / 496.8 MB, free: 5.496 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.0242, allocations: 96.3 kB / 496.9 MB, free: 5.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.02427, allocations: 30.14 kB / 496.9 MB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.02435, allocations: 79.36 kB / 497 MB, free: 5.277 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02436, allocations: 1.281 kB / 497 MB, free: 5.277 MB / 458.7 MB Notification: Performance of Templates: time 0.004536/0.02889, allocations: 3.136 MB / 0.4884 GB, free: 2.359 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.6460234676487744]