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.0007487/0.0007487, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009186/0.0009186, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8901/0.8901, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-531:686: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-531:694: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.7294/0.7294, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 75.89 kB / 0.6195 GB, free: 12.99 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5445, allocations: 101.9 MB / 0.7191 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003673/0.5481, allocations: 3.04 MB / 0.722 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.5505, allocations: 1.883 MB / 0.7239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.5506, allocations: 8.594 kB / 0.7239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.5513, allocations: 286.6 kB / 0.7242 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.5517, allocations: 203.4 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.5522, allocations: 251.2 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.5525, allocations: 325.2 kB / 0.7249 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.5528, allocations: 155.4 kB / 0.7251 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.5531, allocations: 193.7 kB / 0.7252 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.5533, allocations: 149.2 kB / 0.7254 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.5534, allocations: 21.59 kB / 0.7254 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.5539, allocations: 387.8 kB / 0.7258 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.554, allocations: 81 kB / 0.7259 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.5541, allocations: 101.7 kB / 0.7259 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.5548, allocations: 0.493 MB / 0.7264 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5548, allocations: 4 kB / 0.7264 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5548, allocations: 3.938 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5548, allocations: 0 / 0.7264 GB, free: 19.42 MB / 0.6355 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.0007303/0.5555, allocations: 0.4959 MB / 0.7269 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5556, allocations: 10.69 kB / 0.7269 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.5561, allocations: 105.8 kB / 0.727 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.5564, allocations: 213.2 kB / 0.7272 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5564, allocations: 16.09 kB / 0.7273 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.5564, allocations: 16.31 kB / 0.7273 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.5569, allocations: 404.5 kB / 0.7277 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5569, allocations: 5.656 kB / 0.7277 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.5569, allocations: 10.02 kB / 0.7277 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.557, allocations: 27.2 kB / 0.7277 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.5573, allocations: 288.5 kB / 0.728 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5586, allocations: 1.229 MB / 0.7292 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.5589, allocations: 249.1 kB / 0.7294 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.559, allocations: 99.61 kB / 0.7295 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.5591, allocations: 13.73 kB / 0.7295 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5591, allocations: 41.77 kB / 0.7296 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.5591, allocations: 0 / 0.7296 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001647/0.5608, allocations: 0.894 MB / 0.7304 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.5608, allocations: 80.7 kB / 0.7305 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5609, allocations: 218.5 kB / 0.7307 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.561, allocations: 35.55 kB / 0.7307 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.561, allocations: 171.5 kB / 0.7309 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.5611, allocations: 84.89 kB / 0.731 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.5611, allocations: 63 kB / 0.7311 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.5612, allocations: 331.5 kB / 0.7314 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.5613, allocations: 126.2 kB / 0.7315 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5615, allocations: 212.1 kB / 0.7317 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.5618, allocations: 367.8 kB / 0.732 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5618, allocations: 1.375 kB / 0.732 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006179/0.5624, allocations: 0.504 MB / 0.7325 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5625, allocations: 6.938 kB / 0.7325 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5625, allocations: 3.062 kB / 0.7325 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.5628, allocations: 147.1 kB / 0.7327 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.563, allocations: 61.38 kB / 0.7327 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.5646, allocations: 3.952 MB / 0.7366 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.5647, allocations: 22.06 kB / 0.7366 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.5647, allocations: 14.53 kB / 0.7366 GB, free: 11.71 MB / 0.6355 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.00011/0.5648, allocations: 162.7 kB / 0.7368 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.5649, allocations: 26.48 kB / 0.7368 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.5655, allocations: 474.9 kB / 0.7373 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5655, allocations: 4.609 kB / 0.7373 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5655, allocations: 8.969 kB / 0.7373 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5655, allocations: 1.219 kB / 0.7373 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009874/0.5665, allocations: 0.8886 MB / 0.7382 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5665, allocations: 1.469 kB / 0.7382 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.5665, allocations: 35.16 kB / 0.7382 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.5668, allocations: 143 kB / 0.7383 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.5668, allocations: 9.922 kB / 0.7383 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.5681, allocations: 3.894 MB / 0.7421 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5681, allocations: 6.656 kB / 0.7421 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.5686, allocations: 0.6215 MB / 0.7427 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.5687, allocations: 43.88 kB / 0.7428 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.5687, allocations: 8.703 kB / 0.7428 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5688, allocations: 20.89 kB / 0.7428 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5689, allocations: 27.16 kB / 0.7428 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5689, allocations: 8.062 kB / 0.7429 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001016/0.569, allocations: 155.8 kB / 0.743 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.569, allocations: 7.938 kB / 0.743 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003715/0.5693, allocations: 93.56 kB / 0.7431 GB, free: 6.422 MB / 0.6355 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.0001676/0.5695, allocations: 134.7 kB / 0.7432 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.5702, allocations: 0.5612 MB / 0.7438 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5702, allocations: 0 / 0.7438 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.5704, allocations: 400.6 kB / 0.7442 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5708, allocations: 49.36 kB / 0.7442 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.5716, allocations: 0.6391 MB / 0.7448 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.5717, allocations: 174.4 kB / 0.745 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.5718, allocations: 55.78 kB / 0.745 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.5719, allocations: 22.28 kB / 0.7451 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.5719, allocations: 0 / 0.7451 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.007516/0.5794, allocations: 4.174 MB / 0.7491 GB, free: 4.727 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.431294844020158] Failed to read output from testmodel.py, exit status != 0: 0.5859217119868845 0.5953358639999999 0.038500690000000004 Calling exit ...