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.001795/0.001795, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002295/0.002295, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.237/1.237, allocations: 154.6 MB / 414.2 MB, free: 0.6172 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 178] 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.963e-06/1.963e-06, allocations: 0 / 0.5196 GB, free: 1.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.029e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006026/0.006056, allocations: 3.022 MB / 0.5225 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.01001, allocations: 1.862 MB / 0.5244 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.01023, allocations: 7.938 kB / 0.5244 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.01143, allocations: 288.9 kB / 0.5246 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.0121, allocations: 202.8 kB / 0.5248 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.01292, allocations: 258.9 kB / 0.5251 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.0135, allocations: 330.8 kB / 0.5254 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.01393, allocations: 149.1 kB / 0.5255 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.01443, allocations: 187.5 kB / 0.5257 GB, free: 11.19 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.01487, allocations: 140.3 kB / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.01494, allocations: 20 kB / 0.5259 GB, free: 11.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.01598, allocations: 383.6 kB / 0.5262 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.01616, allocations: 95.7 kB / 0.5263 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.01632, allocations: 84.33 kB / 0.5264 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01742, allocations: 0.515 MB / 0.5269 GB, free: 9.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.01742, allocations: 0 / 0.5269 GB, free: 9.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01742, allocations: 0 / 0.5269 GB, free: 9.969 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.01744, allocations: 5.547 kB / 0.5269 GB, free: 9.965 MB / 458.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.001583/0.01902, allocations: 0.4971 MB / 0.5274 GB, free: 9.438 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.01908, allocations: 8.875 kB / 0.5274 GB, free: 9.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.02026, allocations: 165 kB / 0.5276 GB, free: 9.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.02071, allocations: 217.5 kB / 0.5278 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.02073, allocations: 12.88 kB / 0.5278 GB, free: 9.023 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.02079, allocations: 24.36 kB / 0.5278 GB, free: 9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.0215, allocations: 401.7 kB / 0.5282 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.02151, allocations: 4.656 kB / 0.5282 GB, free: 8.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.02156, allocations: 16.34 kB / 0.5282 GB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.02161, allocations: 29.14 kB / 0.5282 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.02217, allocations: 290.3 kB / 0.5285 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.02458, allocations: 1.226 MB / 0.5297 GB, free: 6.961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.02514, allocations: 241.1 kB / 0.5299 GB, free: 6.707 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.02534, allocations: 103.2 kB / 0.53 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.02543, allocations: 18.67 kB / 0.5301 GB, free: 6.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.02547, allocations: 34.56 kB / 0.5301 GB, free: 6.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.02548, allocations: 7.938 kB / 0.5301 GB, free: 6.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.002845/0.02832, allocations: 0.8911 MB / 0.531 GB, free: 5.633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.02839, allocations: 85.09 kB / 0.5311 GB, free: 5.531 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.02868, allocations: 208.9 kB / 0.5313 GB, free: 5.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.02871, allocations: 30.36 kB / 0.5313 GB, free: 5.281 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.02887, allocations: 175.6 kB / 0.5315 GB, free: 5.109 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.02896, allocations: 83.28 kB / 0.5315 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.02908, allocations: 65.64 kB / 0.5316 GB, free: 4.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.02928, allocations: 330.8 kB / 0.5319 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.02952, allocations: 131.9 kB / 0.532 GB, free: 4.496 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.02984, allocations: 209.9 kB / 0.5322 GB, free: 4.258 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.03042, allocations: 366 kB / 0.5326 GB, free: 3.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.03042, allocations: 0 / 0.5326 GB, free: 3.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001214/0.03163, allocations: 0.5312 MB / 0.5331 GB, free: 3.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.03166, allocations: 8 kB / 0.5331 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.03167, allocations: 4 kB / 0.5331 GB, free: 3.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000771/0.03244, allocations: 175.3 kB / 0.5333 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.03274, allocations: 63.91 kB / 0.5333 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.03685, allocations: 3.937 MB / 0.5372 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.03707, allocations: 19.94 kB / 0.5372 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.0371, allocations: 15.98 kB / 0.5372 GB, free: 14.85 MB / 474.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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.03732, allocations: 161.7 kB / 0.5374 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.03742, allocations: 31.89 kB / 0.5374 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.03847, allocations: 478.5 kB / 0.5379 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.03847, allocations: 3.938 kB / 0.5379 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.03848, allocations: 4 kB / 0.5379 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.03849, allocations: 0 / 0.5379 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.04033, allocations: 0.8926 MB / 0.5387 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.04033, allocations: 0.7188 kB / 0.5387 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.04049, allocations: 35.92 kB / 0.5388 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/0.04114, allocations: 171.8 kB / 0.5389 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.04116, allocations: 4 kB / 0.5389 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.04515, allocations: 3.911 MB / 0.5428 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.04515, allocations: 0 / 0.5428 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.04619, allocations: 0.6229 MB / 0.5434 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.04634, allocations: 52.75 kB / 0.5434 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.04637, allocations: 8 kB / 0.5434 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.04663, allocations: 17.17 kB / 0.5434 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.0467, allocations: 31.89 kB / 0.5435 GB, free: 8.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.04673, allocations: 11.94 kB / 0.5435 GB, free: 8.027 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.04692, allocations: 162.4 kB / 0.5436 GB, free: 7.871 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04692, allocations: 0 / 0.5436 GB, free: 7.871 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006204/0.04754, allocations: 91.92 kB / 0.5437 GB, free: 7.781 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003189/0.04786, allocations: 145.3 kB / 0.5439 GB, free: 7.629 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.04906, allocations: 0.5661 MB / 0.5444 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.04906, allocations: 0.7188 kB / 0.5444 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.04973, allocations: 392.4 kB / 0.5448 GB, free: 6.633 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.05029, allocations: 57.36 kB / 0.5449 GB, free: 6.582 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.05167, allocations: 0.6248 MB / 0.5455 GB, free: 5.914 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.05192, allocations: 170.2 kB / 0.5456 GB, free: 5.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.05211, allocations: 58.91 kB / 0.5457 GB, free: 5.676 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.05218, allocations: 25.06 kB / 0.5457 GB, free: 5.652 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.05218, allocations: 0 / 0.5457 GB, free: 5.652 MB / 474.7 MB Notification: Performance of Templates: time 0.01058/0.06276, allocations: 4.181 MB / 0.5498 GB, free: 1.648 MB / 474.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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.119893015013076]