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.0008651/0.0008651, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008895/0.0008895, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.879/0.879, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7298/0.7298, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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 2.124e-06/2.124e-06, allocations: 0 / 0.5207 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.694e-05, allocations: 5.047 kB / 0.5207 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002856/0.002873, allocations: 2.573 MB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004744, allocations: 1.56 MB / 0.5248 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.004852, allocations: 7.938 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.005295, allocations: 131.4 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.005595, allocations: 173.2 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.006016, allocations: 248.3 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.006304, allocations: 334.8 kB / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.006515, allocations: 149.1 kB / 0.5258 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.006727, allocations: 189.3 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.006928, allocations: 143.6 kB / 0.5261 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.006953, allocations: 20 kB / 0.5261 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.007296, allocations: 311.3 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.007374, allocations: 97.92 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.007438, allocations: 87.75 kB / 0.5266 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.007797, allocations: 382.7 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007798, allocations: 0 / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.0078, allocations: 3.984 kB / 0.5269 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.007803, allocations: 0 / 0.5269 GB, free: 11.6 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.0005082/0.008312, allocations: 0.5787 MB / 0.5275 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.008342, allocations: 9.031 kB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.008769, allocations: 148.5 kB / 0.5277 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.008961, allocations: 205.5 kB / 0.5279 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.008973, allocations: 12.88 kB / 0.5279 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.008995, allocations: 21.31 kB / 0.5279 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.009243, allocations: 274.1 kB / 0.5282 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.009252, allocations: 9.594 kB / 0.5282 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.009268, allocations: 8.375 kB / 0.5282 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.009299, allocations: 28.42 kB / 0.5282 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.009416, allocations: 96.38 kB / 0.5283 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01045, allocations: 1.385 MB / 0.5296 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.01064, allocations: 157.9 kB / 0.5298 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.01068, allocations: 47.34 kB / 0.5298 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.01073, allocations: 19.22 kB / 0.5299 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01075, allocations: 45.33 kB / 0.5299 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01075, allocations: 0 / 0.5299 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0008853/0.01164, allocations: 472.5 kB / 0.5303 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.01167, allocations: 81.11 kB / 0.5304 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01179, allocations: 245.7 kB / 0.5307 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.0118, allocations: 35.2 kB / 0.5307 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.01189, allocations: 227.1 kB / 0.5309 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.01193, allocations: 79.33 kB / 0.531 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.01199, allocations: 63.33 kB / 0.531 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.0121, allocations: 0.5122 MB / 0.5315 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.01215, allocations: 36.47 kB / 0.5316 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.01225, allocations: 156.9 kB / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01241, allocations: 225 kB / 0.5319 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01241, allocations: 0 / 0.5319 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003513/0.01276, allocations: 317.3 kB / 0.5322 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01277, allocations: 9.031 kB / 0.5323 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01278, allocations: 0 / 0.5323 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.01309, allocations: 151.5 kB / 0.5324 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01321, allocations: 51.97 kB / 0.5325 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.01534, allocations: 6.018 MB / 0.5383 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.01542, allocations: 9.312 kB / 0.5383 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01544, allocations: 15.98 kB / 0.5384 GB, free: 15.16 MB / 0.5105 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/0.01553, allocations: 178.9 kB / 0.5385 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.01557, allocations: 27.86 kB / 0.5385 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.0159, allocations: 284.3 kB / 0.5388 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.0159, allocations: 7.938 kB / 0.5388 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.0159, allocations: 0 / 0.5388 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01591, allocations: 9.297 kB / 0.5388 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.01655, allocations: 0.6828 MB / 0.5395 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01655, allocations: 11.88 kB / 0.5395 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.01661, allocations: 27.98 kB / 0.5395 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.01685, allocations: 138.3 kB / 0.5397 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01686, allocations: 4 kB / 0.5397 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.01909, allocations: 6.07 MB / 0.5456 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01909, allocations: 7.938 kB / 0.5456 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.01948, allocations: 0.5855 MB / 0.5462 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.01953, allocations: 47.75 kB / 0.5462 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.01955, allocations: 12 kB / 0.5462 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.01964, allocations: 4 kB / 0.5462 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.01968, allocations: 35.89 kB / 0.5463 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01969, allocations: 8 kB / 0.5463 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.01976, allocations: 171.7 kB / 0.5465 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01976, allocations: 3.938 kB / 0.5465 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003119/0.02008, allocations: 97.2 kB / 0.5465 GB, free: 6.211 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001362/0.02021, allocations: 141.1 kB / 0.5467 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005264/0.02074, allocations: 0.6882 MB / 0.5474 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02074, allocations: 0.5312 kB / 0.5474 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.02108, allocations: 0.5826 MB / 0.5479 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.02149, allocations: 42.22 kB / 0.548 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.02239, allocations: 0.571 MB / 0.5485 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.02248, allocations: 116.1 kB / 0.5486 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.077e-05/0.02258, allocations: 30.66 kB / 0.5487 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.02268, allocations: 106.2 kB / 0.5488 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/0.02268, allocations: 1.844 kB / 0.5488 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.007505/0.03019, allocations: 4.753 MB / 0.5534 GB, free: 15.16 MB / 0.5261 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.502555541228503]