Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001051/0.001051, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00134/0.00134, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.045/1.045, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.8431/0.8431, allocations: 154.6 MB / 414.9 MB, free: 0.6641 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.905e-05, allocations: 5.594 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003628/0.003657, allocations: 3.334 MB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.006131, allocations: 2.054 MB / 0.5256 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.006262, allocations: 11.88 kB / 0.5256 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.006928, allocations: 290.8 kB / 0.5259 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.007317, allocations: 239.2 kB / 0.5261 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.007812, allocations: 298 kB / 0.5264 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.008154, allocations: 422.9 kB / 0.5268 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.008448, allocations: 168.2 kB / 0.527 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.008718, allocations: 224.4 kB / 0.5272 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.008982, allocations: 189.1 kB / 0.5274 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.009015, allocations: 24 kB / 0.5274 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.009295, allocations: 247.4 kB / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.009407, allocations: 131.6 kB / 0.5277 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.009509, allocations: 108.4 kB / 0.5278 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.009949, allocations: 394.7 kB / 0.5282 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.009954, allocations: 1.094 kB / 0.5282 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.434e-06/0.009957, allocations: 0 / 0.5282 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.009963, allocations: 0 / 0.5282 GB, free: 10.43 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008402/0.0108, allocations: 0.6413 MB / 0.5288 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.01085, allocations: 10.31 kB / 0.5289 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.01156, allocations: 156.4 kB / 0.529 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.01191, allocations: 227.5 kB / 0.5292 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.01194, allocations: 16.88 kB / 0.5292 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.01207, allocations: 32.73 kB / 0.5293 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.01265, allocations: 425.2 kB / 0.5297 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01267, allocations: 1.562 kB / 0.5297 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.0127, allocations: 11.94 kB / 0.5297 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.01281, allocations: 36.47 kB / 0.5297 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.01308, allocations: 163.7 kB / 0.5299 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.01463, allocations: 1.846 MB / 0.5317 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.01487, allocations: 151.9 kB / 0.5318 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.01496, allocations: 67.66 kB / 0.5319 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01498, allocations: 4 kB / 0.5319 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.01501, allocations: 37.33 kB / 0.5319 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.01501, allocations: 0 / 0.5319 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001068/0.01608, allocations: 0.5684 MB / 0.5325 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.01611, allocations: 59.34 kB / 0.5325 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.01634, allocations: 280.9 kB / 0.5328 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01636, allocations: 29.7 kB / 0.5328 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01647, allocations: 239 kB / 0.5331 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.01653, allocations: 95.25 kB / 0.5332 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.01662, allocations: 82.33 kB / 0.5332 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01675, allocations: 0.5079 MB / 0.5337 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.01686, allocations: 59.95 kB / 0.5338 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.01702, allocations: 182.2 kB / 0.534 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.0173, allocations: 262.6 kB / 0.5342 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0173, allocations: 0 / 0.5342 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005973/0.01789, allocations: 397.8 kB / 0.5346 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.01791, allocations: 4 kB / 0.5346 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01792, allocations: 8.641 kB / 0.5346 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.01857, allocations: 179.2 kB / 0.5348 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.01882, allocations: 68.39 kB / 0.5348 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.02066, allocations: 2.195 MB / 0.537 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.02084, allocations: 15.98 kB / 0.537 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.02087, allocations: 16 kB / 0.537 GB, free: 0.9141 MB / 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): 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.0001281/0.02099, allocations: 172.5 kB / 0.5372 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.02104, allocations: 31.89 kB / 0.5372 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.02133, allocations: 212 kB / 0.5374 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.02133, allocations: 1.938 kB / 0.5374 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02134, allocations: 3.938 kB / 0.5374 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.02134, allocations: 0 / 0.5374 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.02193, allocations: 0.582 MB / 0.538 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.02193, allocations: 0 / 0.538 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.02214, allocations: 73.09 kB / 0.5381 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.02215, allocations: 4 kB / 0.5381 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.02216, allocations: 5.688 kB / 0.5381 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.02217, allocations: 11.94 kB / 0.5381 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02217, allocations: 3.984 kB / 0.5381 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.02253, allocations: 411.4 kB / 0.5385 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.02261, allocations: 53.45 kB / 0.5385 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.02264, allocations: 8 kB / 0.5385 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.02274, allocations: 15.98 kB / 0.5385 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.02278, allocations: 15.91 kB / 0.5386 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.02279, allocations: 8.594 kB / 0.5386 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001185/0.02291, allocations: 196 kB / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02291, allocations: 0.875 kB / 0.5388 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002886/0.0232, allocations: 88 kB / 0.5388 GB, free: 14.95 MB / 0.5105 GB 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.0001669/0.02337, allocations: 105.2 kB / 0.5389 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005832/0.02395, allocations: 447.9 kB / 0.5394 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02395, allocations: 0 / 0.5394 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.314e-05/0.02404, allocations: 80.28 kB / 0.5394 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02436, allocations: 70.16 kB / 0.5395 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.02558, allocations: 0.6865 MB / 0.5402 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.907e-05/0.02566, allocations: 125 kB / 0.5403 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.0258, allocations: 64.91 kB / 0.5404 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.02586, allocations: 20.5 kB / 0.5404 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/0.02586, allocations: 0 / 0.5404 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.00659/0.03245, allocations: 4.207 MB / 0.5445 GB, free: 9.281 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9388282059226185]