Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001033/0.001033, allocations: 73.09 kB / 20.66 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.001352/0.001352, allocations: 169 kB / 24.06 MB, free: 456 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 1.038/1.038, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7998/0.7998, allocations: 154.9 MB / 415.9 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5219 GB, free: 428 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.433e-05, allocations: 2.844 kB / 0.5219 GB, free: 424 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00322/0.003245, allocations: 2.632 MB / 0.5245 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.005286, allocations: 1.467 MB / 0.5259 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005421, allocations: 7.938 kB / 0.5259 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.005791, allocations: 100 kB / 0.526 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.006137, allocations: 196.7 kB / 0.5262 GB, free: 12.03 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.006612, allocations: 266.1 kB / 0.5264 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.007012, allocations: 418.6 kB / 0.5268 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.007249, allocations: 164.3 kB / 0.527 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.007507, allocations: 228 kB / 0.5272 GB, free: 10.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.007773, allocations: 188.2 kB / 0.5274 GB, free: 10.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.007803, allocations: 25.41 kB / 0.5274 GB, free: 10.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.008038, allocations: 171.6 kB / 0.5276 GB, free: 10.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.008144, allocations: 135.6 kB / 0.5277 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.008224, allocations: 100.9 kB / 0.5278 GB, free: 10.37 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.008626, allocations: 354.8 kB / 0.5281 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.008628, allocations: 0 / 0.5281 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008629, allocations: 3.594 kB / 0.5281 GB, free: 10.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.008634, allocations: 0 / 0.5281 GB, free: 10.02 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000589/0.009223, allocations: 0.6205 MB / 0.5288 GB, free: 9.367 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.009253, allocations: 12.03 kB / 0.5288 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.009805, allocations: 145 kB / 0.5289 GB, free: 9.215 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.01002, allocations: 214.7 kB / 0.5291 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.01003, allocations: 21.84 kB / 0.5291 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.01011, allocations: 40.66 kB / 0.5292 GB, free: 8.914 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.01044, allocations: 390.7 kB / 0.5295 GB, free: 8.473 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01045, allocations: 4.188 kB / 0.5295 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.01047, allocations: 11.94 kB / 0.5296 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/0.01055, allocations: 45.11 kB / 0.5296 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01071, allocations: 125.8 kB / 0.5297 GB, free: 8.293 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.0119, allocations: 1.783 MB / 0.5315 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01206, allocations: 138.8 kB / 0.5316 GB, free: 6.301 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.01212, allocations: 55.66 kB / 0.5316 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.01214, allocations: 4 kB / 0.5316 GB, free: 6.238 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.01216, allocations: 37.39 kB / 0.5317 GB, free: 6.191 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 1.193e-06/0.01216, allocations: 2.75 kB / 0.5317 GB, free: 6.191 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007219/0.01288, allocations: 494 kB / 0.5322 GB, free: 5.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.0129, allocations: 51.41 kB / 0.5322 GB, free: 5.617 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.01308, allocations: 286.2 kB / 0.5325 GB, free: 5.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.0131, allocations: 29.7 kB / 0.5325 GB, free: 5.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.01319, allocations: 240 kB / 0.5327 GB, free: 5.047 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.01324, allocations: 95.19 kB / 0.5328 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.01333, allocations: 88.09 kB / 0.5329 GB, free: 4.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01346, allocations: 0.504 MB / 0.5334 GB, free: 4.344 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.01353, allocations: 48.61 kB / 0.5334 GB, free: 4.297 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01365, allocations: 171.4 kB / 0.5336 GB, free: 4.082 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.01385, allocations: 236.7 kB / 0.5338 GB, free: 3.812 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01385, allocations: 0 / 0.5338 GB, free: 3.812 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004715/0.01432, allocations: 360.9 kB / 0.5342 GB, free: 3.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01433, allocations: 4 kB / 0.5342 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01434, allocations: 8 kB / 0.5342 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.01489, allocations: 191.5 kB / 0.5344 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01504, allocations: 51.91 kB / 0.5344 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.01637, allocations: 2.131 MB / 0.5365 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.01654, allocations: 20.78 kB / 0.5365 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01655, allocations: 16.62 kB / 0.5365 GB, free: 0.9297 MB / 458.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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.01665, allocations: 177.1 kB / 0.5367 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.0167, allocations: 32.39 kB / 0.5367 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.0169, allocations: 188.9 kB / 0.5369 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.0169, allocations: 3.984 kB / 0.5369 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.0169, allocations: 0 / 0.5369 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01691, allocations: 4 kB / 0.5369 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.01735, allocations: 0.5068 MB / 0.5374 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01736, allocations: 0 / 0.5374 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.01755, allocations: 72.95 kB / 0.5375 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01755, allocations: 0 / 0.5375 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01756, allocations: 9.031 kB / 0.5375 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01756, allocations: 0 / 0.5375 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01756, allocations: 4 kB / 0.5375 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01784, allocations: 400 kB / 0.5379 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.0179, allocations: 47.83 kB / 0.5379 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01792, allocations: 4.844 kB / 0.5379 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.01802, allocations: 8 kB / 0.5379 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.01804, allocations: 20.97 kB / 0.538 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01805, allocations: 4 kB / 0.538 GB, free: 15.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.01813, allocations: 189.5 kB / 0.5382 GB, free: 15.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01813, allocations: 0 / 0.5382 GB, free: 15.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01839, allocations: 92 kB / 0.5382 GB, free: 15.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.01851, allocations: 108.3 kB / 0.5383 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01892, allocations: 413.8 kB / 0.5387 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01892, allocations: 0 / 0.5387 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.01899, allocations: 84.61 kB / 0.5388 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.01927, allocations: 61.67 kB / 0.5389 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.02025, allocations: 0.6916 MB / 0.5396 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.02032, allocations: 113.9 kB / 0.5397 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.02042, allocations: 36.11 kB / 0.5397 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.02055, allocations: 118.2 kB / 0.5398 GB, free: 13.5 MB / 474.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02055, allocations: 0 / 0.5398 GB, free: 13.5 MB / 474.7 MB Notification: Performance of Templates: time 0.00598/0.02653, allocations: 4.529 MB / 0.5442 GB, free: 9.094 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8407977488823235]