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.0009462/0.0009462, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001008/0.001008, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9139/0.9139, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.8503/0.8503, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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.192e-06/1.192e-06, allocations: 0 / 0.5215 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.47e-05, allocations: 5.266 kB / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003151/0.003176, allocations: 2.587 MB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.004834, allocations: 1.545 MB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.004931, allocations: 7.938 kB / 0.5255 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.005358, allocations: 139.3 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.005595, allocations: 171.6 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005889, allocations: 244.4 kB / 0.5261 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.006143, allocations: 340.3 kB / 0.5264 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.006354, allocations: 149.1 kB / 0.5265 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.006542, allocations: 183.6 kB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.006749, allocations: 140.6 kB / 0.5268 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.006785, allocations: 23.94 kB / 0.5269 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.007147, allocations: 312.8 kB / 0.5272 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.007511, allocations: 95.73 kB / 0.5273 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.0076, allocations: 87.75 kB / 0.5273 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.008087, allocations: 382.8 kB / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.008089, allocations: 5.062 kB / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00809, allocations: 0 / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.008095, allocations: 0 / 0.5277 GB, free: 11.55 MB / 0.4948 GB 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.0005663/0.008661, allocations: 0.5783 MB / 0.5283 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.008692, allocations: 13.31 kB / 0.5283 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.009151, allocations: 144.5 kB / 0.5284 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.009371, allocations: 205 kB / 0.5286 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.009386, allocations: 13.38 kB / 0.5286 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.009411, allocations: 20.38 kB / 0.5287 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.009699, allocations: 285.3 kB / 0.5289 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.009711, allocations: 192 / 0.5289 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.009732, allocations: 12.36 kB / 0.5289 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.009769, allocations: 28.42 kB / 0.529 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.009912, allocations: 91.34 kB / 0.5291 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01096, allocations: 1.39 MB / 0.5304 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.01121, allocations: 146.1 kB / 0.5306 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.01125, allocations: 48.84 kB / 0.5306 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.01129, allocations: 11.98 kB / 0.5306 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.01131, allocations: 41.89 kB / 0.5307 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.01132, allocations: 0 / 0.5307 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0008977/0.01221, allocations: 470.7 kB / 0.5311 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.01224, allocations: 81.11 kB / 0.5312 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.01236, allocations: 249.7 kB / 0.5314 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.01238, allocations: 29.7 kB / 0.5314 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.01247, allocations: 233.5 kB / 0.5317 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.01251, allocations: 79.33 kB / 0.5317 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.01259, allocations: 67.33 kB / 0.5318 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002887/0.01287, allocations: 0.5078 MB / 0.5323 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.01293, allocations: 39.97 kB / 0.5323 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01303, allocations: 145 kB / 0.5325 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.01321, allocations: 227.6 kB / 0.5327 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01321, allocations: 0 / 0.5327 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003735/0.01358, allocations: 322.5 kB / 0.533 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01359, allocations: 4 kB / 0.533 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.0136, allocations: 4.625 kB / 0.533 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.01392, allocations: 134.9 kB / 0.5331 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01403, allocations: 55.91 kB / 0.5332 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.01606, allocations: 5.04 MB / 0.5381 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.01614, allocations: 11.94 kB / 0.5381 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01615, allocations: 15.94 kB / 0.5381 GB, free: 200 kB / 0.4948 GB 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 9.254e-05/0.01625, allocations: 183 kB / 0.5383 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.0163, allocations: 23.95 kB / 0.5383 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.01667, allocations: 276.6 kB / 0.5386 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01668, allocations: 4 kB / 0.5386 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01668, allocations: 0 / 0.5386 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01668, allocations: 0 / 0.5386 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.01737, allocations: 0.6704 MB / 0.5393 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01737, allocations: 7.938 kB / 0.5393 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.01743, allocations: 27.98 kB / 0.5393 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.01771, allocations: 138.1 kB / 0.5394 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01772, allocations: 8.938 kB / 0.5394 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.01968, allocations: 5.043 MB / 0.5444 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01968, allocations: 3.938 kB / 0.5444 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.02005, allocations: 0.572 MB / 0.5449 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.0201, allocations: 45.83 kB / 0.545 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.02012, allocations: 11.98 kB / 0.545 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.02023, allocations: 12 kB / 0.545 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.02027, allocations: 23.91 kB / 0.545 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02028, allocations: 11.98 kB / 0.545 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.02036, allocations: 172.2 kB / 0.5452 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02036, allocations: 0 / 0.5452 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003086/0.02066, allocations: 95.86 kB / 0.5453 GB, free: 8.414 MB / 0.5105 GB 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.0001548/0.02082, allocations: 141.1 kB / 0.5454 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.02126, allocations: 0.5275 MB / 0.5459 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02126, allocations: 0 / 0.5459 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.0215, allocations: 444.3 kB / 0.5464 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.02184, allocations: 57.64 kB / 0.5464 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.02262, allocations: 0.5623 MB / 0.547 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.756e-05/0.02268, allocations: 104.3 kB / 0.5471 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.02276, allocations: 28.72 kB / 0.5471 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.02285, allocations: 106.2 kB / 0.5472 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.02285, allocations: 0 / 0.5472 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of Templates: time 0.00624/0.02909, allocations: 4.577 MB / 0.5517 GB, free: 1.906 MB / 0.5105 GB " [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.8291448950767517]