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.0009851/0.0009851, allocations: 93.06 kB / 19.65 MB, free: 280 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.001067/0.001067, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9572/0.9572, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7324/0.7324, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.372e-06/1.372e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.687e-05, allocations: 6.953 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002994/0.003021, allocations: 2.591 MB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.005019, allocations: 1.571 MB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.005158, allocations: 7.938 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.005649, allocations: 133.1 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.006027, allocations: 175 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.006542, allocations: 245.2 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.006892, allocations: 334.7 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.007172, allocations: 153 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.00742, allocations: 192.8 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.007657, allocations: 139.6 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.007686, allocations: 22 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.008105, allocations: 315.2 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.008203, allocations: 95.72 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.008278, allocations: 79.83 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.008737, allocations: 382.8 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008741, allocations: 2 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.008742, allocations: 0 / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.008748, allocations: 0 / 0.5265 GB, free: 11.82 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.0006687/0.009417, allocations: 0.5816 MB / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.009453, allocations: 12.59 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.00999, allocations: 169.4 kB / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.01024, allocations: 205.3 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01025, allocations: 16.86 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.01028, allocations: 28.31 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.01059, allocations: 295.1 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01061, allocations: 192 / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.01063, allocations: 8.375 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.01066, allocations: 29.95 kB / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.01085, allocations: 122.8 kB / 0.528 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.01206, allocations: 1.409 MB / 0.5293 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.0123, allocations: 171 kB / 0.5295 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.01236, allocations: 56.14 kB / 0.5295 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.01241, allocations: 12.73 kB / 0.5296 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.01244, allocations: 40.52 kB / 0.5296 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.01244, allocations: 0 / 0.5296 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001131/0.01357, allocations: 0.5479 MB / 0.5301 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.0136, allocations: 81.11 kB / 0.5302 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01375, allocations: 257.5 kB / 0.5305 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01376, allocations: 29.7 kB / 0.5305 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.01386, allocations: 223.1 kB / 0.5307 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.0139, allocations: 80.84 kB / 0.5308 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.01398, allocations: 71.3 kB / 0.5308 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01409, allocations: 0.504 MB / 0.5313 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.01417, allocations: 47.97 kB / 0.5314 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.0143, allocations: 173.4 kB / 0.5315 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.01452, allocations: 241.3 kB / 0.5318 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01452, allocations: 0 / 0.5318 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004326/0.01495, allocations: 341.2 kB / 0.5321 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01497, allocations: 8 kB / 0.5321 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01497, allocations: 4 kB / 0.5321 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.01533, allocations: 135.2 kB / 0.5322 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01547, allocations: 57.97 kB / 0.5323 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.01738, allocations: 5.126 MB / 0.5373 GB, free: 112 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01748, allocations: 17.48 kB / 0.5373 GB, free: 96 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.0175, allocations: 11.98 kB / 0.5373 GB, free: 84 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 0.0001187/0.01762, allocations: 181.4 kB / 0.5375 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.01767, allocations: 23.86 kB / 0.5375 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.01808, allocations: 296.4 kB / 0.5378 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01808, allocations: 5.438 kB / 0.5378 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01809, allocations: 0 / 0.5378 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01809, allocations: 7.984 kB / 0.5378 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.01887, allocations: 0.7433 MB / 0.5385 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01887, allocations: 0 / 0.5385 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.01894, allocations: 35.92 kB / 0.5386 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.01921, allocations: 126.2 kB / 0.5387 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01923, allocations: 8.875 kB / 0.5387 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.02098, allocations: 5.112 MB / 0.5437 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.02098, allocations: 3.938 kB / 0.5437 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.0214, allocations: 0.5877 MB / 0.5443 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.02146, allocations: 47.83 kB / 0.5443 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.02148, allocations: 8.625 kB / 0.5443 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.0216, allocations: 20.92 kB / 0.5444 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.02164, allocations: 27.89 kB / 0.5444 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02166, allocations: 13.28 kB / 0.5444 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.165e-05/0.02175, allocations: 183.2 kB / 0.5446 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02175, allocations: 0 / 0.5446 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003428/0.02209, allocations: 91.88 kB / 0.5447 GB, free: 8.078 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.0001785/0.02227, allocations: 149.6 kB / 0.5448 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.02282, allocations: 0.5507 MB / 0.5453 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.02282, allocations: 0 / 0.5453 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.02309, allocations: 459.7 kB / 0.5458 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02341, allocations: 48.45 kB / 0.5458 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.02433, allocations: 0.5748 MB / 0.5464 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.445e-05/0.0244, allocations: 110.1 kB / 0.5465 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000106/0.02451, allocations: 53.44 kB / 0.5465 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.02455, allocations: 24.5 kB / 0.5466 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.02455, allocations: 1.719 kB / 0.5466 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.006377/0.03093, allocations: 4.399 MB / 0.5509 GB, free: 1.754 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.6610730811953545]