Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.001008/0.001008, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001149/0.001149, allocations: 168 kB / 24.82 MB, free: 8.863 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2809/0.2809, allocations: 29.42 MB / 291.2 MB, free: 2.457 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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.583e-05, allocations: 5.547 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006595/0.006631, allocations: 5.768 MB / 375.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.009957, allocations: 2.064 MB / 377.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.01043, allocations: 35.69 kB / 378 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.01121, allocations: 238.5 kB / 378.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.01241, allocations: 0.5712 MB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.01318, allocations: 367 kB / 379.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.01438, allocations: 1.329 MB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.01507, allocations: 0.5295 MB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.01625, allocations: 0.8105 MB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007537/0.017, allocations: 0.6742 MB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.01712, allocations: 100 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.01796, allocations: 0.6005 MB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.0183, allocations: 0.4988 MB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.01863, allocations: 383.2 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.01974, allocations: 1.153 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01974, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01974, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.01976, allocations: 4 kB / 385.2 MB, free: 11.55 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001631/0.02139, allocations: 1.313 MB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.02143, allocations: 11.98 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.02206, allocations: 252.1 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.02265, allocations: 0.541 MB / 387.3 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.02285, allocations: 321.8 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.02298, allocations: 84.55 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.02386, allocations: 0.7853 MB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.02388, allocations: 7.938 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.02393, allocations: 27.98 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.02405, allocations: 85.89 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.02464, allocations: 449.5 kB / 389.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.02812, allocations: 3.537 MB / 392.6 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.02879, allocations: 0.5105 MB / 393.1 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.02912, allocations: 285.8 kB / 393.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.02918, allocations: 16.66 kB / 393.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.02921, allocations: 49.98 kB / 393.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 2.785e-06/0.02922, allocations: 0 / 393.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.002217/0.03143, allocations: 1.48 MB / 394.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.03148, allocations: 97.97 kB / 395 MB, free: 1.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.03171, allocations: 398.3 kB / 395.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.03176, allocations: 41.7 kB / 395.5 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.03192, allocations: 395.9 kB / 395.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.03211, allocations: 376.8 kB / 396.2 MB, free: 140 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.03231, allocations: 172.2 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.03246, allocations: 0.5585 MB / 396.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.03266, allocations: 153.9 kB / 397.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.03295, allocations: 361.7 kB / 397.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.03347, allocations: 0.5643 MB / 398 MB, free: 14.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03347, allocations: 0 / 398 MB, free: 14.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0008462/0.03432, allocations: 0.7073 MB / 398.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.03434, allocations: 6.812 kB / 398.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.03435, allocations: 8 kB / 398.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.03446, allocations: 35.67 kB / 398.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.03545, allocations: 375.5 kB / 399.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.03878, allocations: 7.477 MB / 406.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.03919, allocations: 44.12 kB / 406.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.03924, allocations: 23.98 kB / 406.7 MB, free: 5.066 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0003034/0.03955, allocations: 200.4 kB / 406.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.03975, allocations: 99.58 kB / 407 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.04066, allocations: 0.6996 MB / 407.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.04069, allocations: 27.98 kB / 407.7 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.04069, allocations: 0 / 407.7 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.0407, allocations: 3.984 kB / 407.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.04282, allocations: 1.422 MB / 409.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.04282, allocations: 4 kB / 409.1 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.04388, allocations: 403.7 kB / 409.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/0.04397, allocations: 39.61 kB / 409.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.04402, allocations: 23.98 kB / 409.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/0.04492, allocations: 1.981 MB / 411.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.04493, allocations: 7.938 kB / 411.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.04619, allocations: 1.08 MB / 412.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.04631, allocations: 67.56 kB / 412.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.04638, allocations: 27.98 kB / 412.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.04663, allocations: 31.97 kB / 412.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.04676, allocations: 64.55 kB / 412.8 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.0468, allocations: 19.98 kB / 412.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.04697, allocations: 251 kB / 413.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04697, allocations: 0 / 413.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.04766, allocations: 235.9 kB / 413.3 MB, free: 14.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.0002699/0.04793, allocations: 174.7 kB / 413.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.04925, allocations: 0.9165 MB / 414.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.04925, allocations: 4 kB / 414.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.05013, allocations: 0.664 MB / 415.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.05062, allocations: 129.5 kB / 415.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.05355, allocations: 1.976 MB / 417.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.05374, allocations: 251.9 kB / 417.4 MB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.05404, allocations: 85.33 kB / 417.5 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.05437, allocations: 210.1 kB / 417.7 MB, free: 9.609 MB / 394.7 MB Notification: Performance of SimCode: time 1.894e-06/0.05437, allocations: 0 / 417.7 MB, free: 9.609 MB / 394.7 MB Notification: Performance of Templates: time 0.01323/0.0676, allocations: 10.79 MB / 428.5 MB, free: 14.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.425071829929948]