Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.002102/0.002102, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00205/0.00205, allocations: 165.3 kB / 24.28 MB, free: 152 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.594/1.594, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3205/0.3205, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.949e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009922/0.009951, allocations: 6.803 MB / 375.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.0146, allocations: 2.107 MB / 377.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.01504, allocations: 35.69 kB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.01666, allocations: 0.5171 MB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.018, allocations: 0.5749 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.01904, allocations: 382.9 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.02074, allocations: 1.337 MB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008367/0.02157, allocations: 0.5295 MB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.02275, allocations: 0.7636 MB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.02384, allocations: 0.6703 MB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.02401, allocations: 100 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.02504, allocations: 0.5342 MB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.02563, allocations: 0.491 MB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.0262, allocations: 379.2 kB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.02857, allocations: 1.546 MB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.02858, allocations: 3.984 kB / 385.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02858, allocations: 0 / 385.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.02859, allocations: 0 / 385.7 MB, free: 10.47 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003084/0.03167, allocations: 1.461 MB / 387.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.03172, allocations: 11.98 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.03285, allocations: 276.1 kB / 387.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.03438, allocations: 0.6234 MB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.03472, allocations: 325.9 kB / 388.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.03495, allocations: 96.67 kB / 388.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.03695, allocations: 1.009 MB / 389.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.03697, allocations: 4 kB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.03708, allocations: 32 kB / 389.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.03725, allocations: 65.91 kB / 389.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.03894, allocations: 0.6517 MB / 390.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008236/0.04718, allocations: 4.968 MB / 395.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.04881, allocations: 0.5445 MB / 395.7 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008579/0.04967, allocations: 315.5 kB / 396 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.04974, allocations: 12.66 kB / 396 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.04979, allocations: 46.03 kB / 396.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.0498, allocations: 0 / 396.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004874/0.05467, allocations: 1.765 MB / 397.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.05475, allocations: 93.7 kB / 397.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.0554, allocations: 0.5064 MB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.05546, allocations: 41.72 kB / 398.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.056, allocations: 483 kB / 398.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.0563, allocations: 289.7 kB / 399.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.05661, allocations: 168.3 kB / 399.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003692/0.05698, allocations: 0.586 MB / 400 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.0576, allocations: 225.8 kB / 400.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009212/0.05852, allocations: 0.5143 MB / 400.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.06011, allocations: 0.782 MB / 401.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.06011, allocations: 0 / 401.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00356/0.06367, allocations: 1.21 MB / 402.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.06369, allocations: 8 kB / 402.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00295/0.06664, allocations: 0.922 MB / 403.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.06909, allocations: 0.5954 MB / 404.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.06981, allocations: 159.7 kB / 404.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.08009, allocations: 5.778 MB / 410.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.08082, allocations: 71.91 kB / 410.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.0809, allocations: 31.98 kB / 410.3 MB, free: 0.8555 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004319/0.08133, allocations: 244.4 kB / 410.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.08154, allocations: 83.62 kB / 410.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.08346, allocations: 0.7096 MB / 411.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/0.08349, allocations: 20 kB / 411.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0835, allocations: 3.938 kB / 411.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.08351, allocations: 3.984 kB / 411.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.08756, allocations: 1.638 MB / 413 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.08756, allocations: 0 / 413 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/0.08999, allocations: 403.5 kB / 413.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.09013, allocations: 35.61 kB / 413.4 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.0902, allocations: 19.98 kB / 413.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.092, allocations: 2.039 MB / 415.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.09201, allocations: 3.984 kB / 415.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.09465, allocations: 1.129 MB / 416.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.09478, allocations: 55.62 kB / 416.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.09489, allocations: 15.98 kB / 416.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.09538, allocations: 47.94 kB / 416.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.09559, allocations: 72.47 kB / 416.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.09565, allocations: 23.98 kB / 416.8 MB, free: 10.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.09605, allocations: 315.1 kB / 417.1 MB, free: 9.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09605, allocations: 4 kB / 417.1 MB, free: 9.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001019/0.09707, allocations: 231.9 kB / 417.3 MB, free: 9.535 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002627/0.09734, allocations: 135 kB / 417.5 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.1, allocations: 1.165 MB / 418.6 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1, allocations: 0 / 418.6 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.1023, allocations: 0.6863 MB / 419.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.1031, allocations: 142.2 kB / 419.4 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.1072, allocations: 1.834 MB / 421.3 MB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.1078, allocations: 457.5 kB / 421.7 MB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005241/0.1083, allocations: 153.1 kB / 421.9 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.1085, allocations: 52.48 kB / 421.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/0.1085, allocations: 4 kB / 421.9 MB, free: 4.789 MB / 394.7 MB Notification: Performance of Templates: time 0.02427/0.1328, allocations: 12.05 MB / 434 MB, free: 8.859 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.672027449007146]